Skip to content

Commit d3066f6

Browse files
committed
Updated test snippet
1 parent b343ff8 commit d3066f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.vscode/snippets/javascript.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@
6767
"import { shallow } from 'enzyme'",
6868
"",
6969
"import { component as ${1:Component} } from '../$1'",
70-
"import { defaultConfig } from '../../config'",
70+
"import { defaultTheme } from '../../theme'",
7171
"",
7272
"const setup = (testProps = {}) => {",
73-
" const props = Object.assign({ config: defaultConfig }, testProps)",
73+
" const props = Object.assign({ theme: defaultTheme }, testProps)",
7474
"",
7575
" const wrapper = shallow(<$1 {...props} />)",
7676
"",

0 commit comments

Comments
 (0)