File tree 2 files changed +3
-3
lines changed
integration_tests/__tests__/__snapshots__
packages/jest-matchers/src
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ exports[`not throwing Error objects 4`] = `
37
37
at __tests__/assertion_count.test.js:14:17
38
38
● .assertions() › throws
39
39
expect.assertions(2)
40
- Expected two assertions to be called but only received one assertion call.
40
+ Expected two assertions to be called but received one assertion call.
41
41
● .assertions() › throws on redeclare of assertion count
42
42
expect(received).toBeTruthy()
43
43
Expected value to be truthy, instead received
44
44
false
45
45
at __tests__/assertion_count.test.js:18:17
46
46
● .assertions() › throws on assertion
47
47
expect.assertions(0)
48
- Expected zero assertions to be called but only received one assertion call.
48
+ Expected zero assertions to be called but received one assertion call.
49
49
● .hasAssertions() › throws when there are not assertions
50
50
expect.hasAssertions()
51
51
Expected at least one assertion to be called but received none.
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const extractExpectedAssertionsErrors = () => {
39
39
isDirectExpectCall : true ,
40
40
} ) +
41
41
'\n\n' +
42
- `Expected ${ numOfAssertionsExpected } to be called but only received ` +
42
+ `Expected ${ numOfAssertionsExpected } to be called but received ` +
43
43
RECEIVED_COLOR ( pluralize ( 'assertion call' , assertionCalls || 0 ) ) +
44
44
'.' ,
45
45
) ;
You can’t perform that action at this time.
0 commit comments