Skip to content

Commit 6fbdea0

Browse files
xlfsummereddyerburgh
authored andcommitted
docs: fix example code (#927)
1 parent 5636a8e commit 6fbdea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/shallowMount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ describe('Foo', () => {
8989
foo: '<div />'
9090
}
9191
})
92-
expect(wrapper.find('div')).toBe(true)
92+
expect(wrapper.contains('div')).toBe(true)
9393
})
9494
})
9595
```

0 commit comments

Comments
 (0)