Skip to content

Commit 4b21826

Browse files
aforismesenfacebook-github-bot
authored andcommitted
Fix tree invariants test (#1836)
Summary: **Summary** Disables auto-mocks on the tree data invariants test, thus fixing the Travis CI build. **Test Plan** ``` npm test ``` Pull Request resolved: facebookarchive/draft-js#1836 Reviewed By: agoder Differential Revision: D9301796 Pulled By: agoder fbshipit-source-id: 879207e40da993eb4070d352ebc9535d7d23ad4e
1 parent e052e81 commit 4b21826

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/component/utils/exploration/__tests__/DraftTreeInvariants-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
'use strict';
1515

16+
jest.disableAutomock();
17+
1618
// missing parent -> child connection
1719

1820
const ContentBlockNode = require('ContentBlockNode');

0 commit comments

Comments
 (0)