Last analyzed 027ab13 5 months ago
Default analysis branch is
Currently analyzing run
Found the usage of undeclared variables JS-0125
Bug risk
5 months ago5 months old
'expect' is not defined To fix this, add jest in environment array of .deepsource.toml. Read more in our documentation
 8import Adapter from 'enzyme-adapter-react-16';
 9import {createSerializer} from 'enzyme-to-json';
11expect.addSnapshotSerializer(createSerializer({mode: 'deep'}));12
13Enzyme.configure({adapter: new Adapter()});