Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 582cd2f

Browse files
author
Michelle Tilley
committed
Use new Enzyme adapter
1 parent bf75eb0 commit 582cd2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/runner.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import chaiAsPromised from 'chai-as-promised';
44
import path from 'path';
55

66
import until from 'test-until';
7+
import Enzyme from 'enzyme';
8+
import Adapter from 'enzyme-adapter-react-16';
9+
10+
Enzyme.configure({adapter: new Adapter()});
711

812
chai.use(chaiAsPromised);
913
global.assert = chai.assert;

0 commit comments

Comments
 (0)