fix(expect)!: check more properties for error equality #12728
Triggered via pull request
December 10, 2024 00:47
Status
Failure
Total duration
14m 38s
Artifacts
–
ci.yml
on: pull_request
Diff: node-latest, ubuntu-latest
7s
Lint: node-latest, ubuntu-latest
2m 41s
Matrix: test-browser
Matrix: test
Annotations
2 errors and 5 warnings
specs/mocking.test.ts > mocking works correctly - isolated true:
test/browser/specs/mocking.test.ts#L15
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯\n\n …' to be '' // Object.is equality
- Expected
+ Received
+
+ ⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯
+
+ FAIL not-mocked.test.ts [ not-mocked.test.ts ]
+ TypeError: error loading dynamically imported module: http://localhost:63315/Users/runner/work/vitest/vitest/test/browser/fixtures/mocking/not-mocked.test.ts?import&browserv=1733791857279
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
+ Serialized Error: { fileName: '', lineNumber: +0, columnNumber: 1 }
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
+
+
❯ specs/mocking.test.ts:15:25
|
Browser: firefox, macos-latest
Process completed with exit code 1.
|
Diff: node-latest, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint: node-latest, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build&Test: node-20, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build&Test: node-22, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build&Test: node-18, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|