Skip to content

Commit a268053

Browse files
lmiller1990AtofStryker
authored andcommitted
test: migrate tests
1 parent cdce1e4 commit a268053

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/specs/wrapper/props.spec.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ describeWithShallowAndMount('props', mountingMethod => {
7272
const message =
7373
'[vue-test-utils]: wrapper.props() cannot be called on a mounted functional component.'
7474
const fn = () => wrapper.find(FunctionalComponent).props()
75-
expect(fn)
76-
.toThrow()
77-
.with.property('message', message)
75+
expect(fn).toThrow(message)
7876
}
7977
}
8078
)

0 commit comments

Comments
 (0)