fix(expect)!: check more properties for error equality #12728
Annotations
2 errors
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
|
|
The logs for this run have expired and are no longer available.
Loading