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 aa10735 commit d03ec59Copy full SHA for d03ec59
README.md
@@ -21,12 +21,12 @@ You need to tell Jest to use the serializer. Add this to your Jest config:
21
And your snapshot tests will be pretty printed 💅
22
23
```js
24
-import { shallow } from '@vue/test-utils'
+import { shallowMount } from '@vue/test-utils'
25
import Basic from './Basic.vue'
26
27
describe('Basic.vue', () => {
28
it('renders correctly', () => {
29
- const wrapper = shallow(Basic)
+ const wrapper = shallowMount(Basic)
30
expect(wrapper).toMatchSnapshot()
31
})
32
0 commit comments