Skip to content

Commit dbbf4fa

Browse files
committed
Fix SqlEditor test for React context refactoring
Signed-off-by: Michael Mior <[email protected]>
1 parent 638eff3 commit dbbf4fa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/SqlEditor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,4 +484,5 @@ const SqlEditorWithContext: StatelessFunctionalComponent<
484484
return <SqlEditor {...props} ReactGA={ReactGA} />;
485485
};
486486

487+
export {SqlEditor};
487488
export default SqlEditorWithContext;

src/SqlEditor.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import {shallow} from 'enzyme';
33

44
import Editor from 'react-simple-code-editor';
5-
import SqlEditor from './SqlEditor';
5+
import {SqlEditor} from './SqlEditor';
66

77
it('can parse the initial query', () => {
88
const types = {foo: ['bar', 'baz']};

0 commit comments

Comments
 (0)