We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b343ff8 commit d3066f6Copy full SHA for d3066f6
.vscode/snippets/javascript.json
@@ -67,10 +67,10 @@
67
"import { shallow } from 'enzyme'",
68
"",
69
"import { component as ${1:Component} } from '../$1'",
70
- "import { defaultConfig } from '../../config'",
+ "import { defaultTheme } from '../../theme'",
71
72
"const setup = (testProps = {}) => {",
73
- " const props = Object.assign({ config: defaultConfig }, testProps)",
+ " const props = Object.assign({ theme: defaultTheme }, testProps)",
74
75
" const wrapper = shallow(<$1 {...props} />)",
76
0 commit comments