Skip to content

Commit

Permalink
Update test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
jtenner committed May 24, 2019
1 parent 846ca1f commit 678c1ee
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions __tests__/InvalidExpectCall.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,38 +22,40 @@ describe("an invalid expect call test suite", () => {
Array [
Object {
"message": "An expect() function call was used outside of a test function in assembly/jest.ts.",
"stackTrace": " at assembly/internal/Expectation/Expectation<assembly/jest-invalid-expectation/SomeRef>#reportActual (wasm-function[44]:13)
at start:assembly/jest-invalid-expectation~anonymous|0 (wasm-function[61]:22)
at assembly/internal/Describe/describe (wasm-function[63]:16)
at start:assembly/jest-invalid-expectation (wasm-function[64]:6)
at start (wasm-function[66]:1)",
"stackTrace": " at start:assembly/jest-invalid-expectation~anonymous|0 (wasm-function[58]:59)
at assembly/internal/Describe/describe (wasm-function[60]:16)
at start:assembly/jest-invalid-expectation (wasm-function[61]:6)
at start (wasm-function[64]:1)
at assembly/index/__main (wasm-function[62]:6)",
"type": "InvalidExpectCall",
},
Object {
"message": "An expect() function call was used outside of a test function in assembly/jest.ts.",
"stackTrace": " at assembly/internal/Expectation/Expectation<assembly/jest-invalid-expectation/SomeRef>#reportActual (wasm-function[44]:79)
at start:assembly/jest-invalid-expectation~anonymous|0 (wasm-function[61]:94)
at assembly/internal/Describe/describe (wasm-function[63]:16)
at start:assembly/jest-invalid-expectation (wasm-function[64]:6)
at start (wasm-function[66]:1)",
"stackTrace": " at assembly/internal/comparison/truthyComparison/truthyComparison<assembly/jest-invalid-expectation/SomeRef> (wasm-function[48]:79)
at start:assembly/jest-invalid-expectation~anonymous|0 (wasm-function[58]:197)
at assembly/internal/Describe/describe (wasm-function[60]:16)
at start:assembly/jest-invalid-expectation (wasm-function[61]:6)
at start (wasm-function[64]:1)
at assembly/index/__main (wasm-function[62]:6)",
"type": "InvalidExpectCall",
},
Object {
"message": "An expect() function call was used outside of a test function in assembly/jest.ts.",
"stackTrace": " at assembly/internal/Expectation/Expectation<i32>#reportActual (wasm-function[50]:6)
at start:assembly/jest-invalid-expectation~anonymous|0 (wasm-function[61]:250)
at assembly/internal/Describe/describe (wasm-function[63]:16)
at start:assembly/jest-invalid-expectation (wasm-function[64]:6)
at start (wasm-function[66]:1)",
"stackTrace": " at start:assembly/jest-invalid-expectation~anonymous|0 (wasm-function[58]:259)
at assembly/internal/Describe/describe (wasm-function[60]:16)
at start:assembly/jest-invalid-expectation (wasm-function[61]:6)
at start (wasm-function[64]:1)
at assembly/index/__main (wasm-function[62]:6)",
"type": "InvalidExpectCall",
},
Object {
"message": "An expect() function call was used outside of a test function in assembly/jest.ts.",
"stackTrace": " at assembly/internal/Expectation/Expectation<~lib/string/String>#reportActual (wasm-function[57]:35)
at start:assembly/jest-invalid-expectation~anonymous|0 (wasm-function[61]:318)
at assembly/internal/Describe/describe (wasm-function[63]:16)
at start:assembly/jest-invalid-expectation (wasm-function[64]:6)
at start (wasm-function[66]:1)",
"stackTrace": " at assembly/internal/comparison/truthyComparison/truthyComparison<~lib/string/String> (wasm-function[55]:44)
at start:assembly/jest-invalid-expectation~anonymous|0 (wasm-function[58]:345)
at assembly/internal/Describe/describe (wasm-function[60]:16)
at start:assembly/jest-invalid-expectation (wasm-function[61]:6)
at start (wasm-function[64]:1)
at assembly/index/__main (wasm-function[62]:6)",
"type": "InvalidExpectCall",
},
]
Expand Down

0 comments on commit 678c1ee

Please sign in to comment.