Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak syntax of accessing '_instance' in DraftEditor test (#1247)
**what is the change?:** We either check for the 'getEditorKey' method on the 'renderedComponent._instance' or the 'renderedComponent._instance._instance' **why make this change?:** Internally we are using a different variation of the 'shallowRenderer' and this test needs to run internally at Facebook as well as on Github. This is not an ideal solution, but we can continue improving this test once cleaning up the inconsistencies between Facebook and Github. **test plan:** `jest src/component/base/__tests__/DraftEditor.react-test.js` **issue:** facebookarchive/draft-js#1244
- Loading branch information