chore(deps): update vitest monorepo to v4 (major) #1337
Annotations
7 errors
|
🎯 Tests
Process completed with exit code 1.
|
|
src/examples/without-spans.test.ts > without-spans task > pretty-print from captured errors > should display the stack:
src/examples/without-spans.test.ts#L124
AssertionError: expected '\r\n💥 \u001b[41m\u001b[37m FileError…' to match /│ at catcher (.*\/effec…/effect-errors\
- Expected:
/│ at catcher (.*\/effect-errors\/src\/examples\/without-spans.ts:14:17)/
+ Received:
"
💥 FileError • Error: ENOENT: no such file or directory, open 'cool.ts'
ℹ️ Consider using spans to improve errors reporting.
◯ Node Stacktrace 🚨
│ at catch (/home/runner/work/effect-errors/effect-errors/src/examples/without-spans.ts:14:17)
│ at EffectPrimitive.effect_instruction_i0 (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/core-effect.js:579:51)
│ at file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:931:41
│ at effect_internal_function (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/Utils.js:333:12)
│ at FiberRuntime.Sync (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:931:19)
│ at file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:1137:31
│ at Object.context (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/tracer.js:80:17)
│ at FiberRuntime.runLoop (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:1128:34)
│ at FiberRuntime.evaluateEffect (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:732:27)
│ at FiberRuntime.evaluateMessageWhileSuspended (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:707:16)
┴
"
❯ src/examples/without-spans.test.ts:124:23
|
|
src/examples/without-spans.test.ts > without-spans task > pretty-print > should display the stack:
src/examples/without-spans.test.ts#L65
AssertionError: expected '\r\n💥 \u001b[41m\u001b[37m FileError…' to match /│ at catcher (.*\/effec…/effect-errors\
- Expected:
/│ at catcher (.*\/effect-errors\/src\/examples\/without-spans.ts:14:17)/
+ Received:
"
💥 FileError • Error: ENOENT: no such file or directory, open 'cool.ts'
ℹ️ Consider using spans to improve errors reporting.
◯ Node Stacktrace 🚨
│ at catch (/home/runner/work/effect-errors/effect-errors/src/examples/without-spans.ts:14:17)
│ at EffectPrimitive.effect_instruction_i0 (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/core-effect.js:579:51)
│ at file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:931:41
│ at effect_internal_function (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/Utils.js:333:12)
│ at FiberRuntime.Sync (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:931:19)
│ at file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:1137:31
│ at Object.context (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/tracer.js:80:17)
│ at FiberRuntime.runLoop (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:1128:34)
│ at FiberRuntime.evaluateEffect (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:732:27)
│ at FiberRuntime.evaluateMessageWhileSuspended (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:707:16)
┴
"
❯ src/examples/without-spans.test.ts:65:22
|
|
src/examples/tagged-error-with-error-ctor.test.ts > tagged-error-with-error-ctor task > should display the stack:
src/examples/tagged-error-with-error-ctor.test.ts#L48
AssertionError: expected '\r\n💥 \u001b[41m\u001b[37m OhNo \u00…' to match /│ at catcher \(\.\/src\/examples\…/src\
- Expected:
/│ at catcher \(\.\/src\/examples\/tagged-error-with-error-ctor\.ts:15:19\)/
+ Received:
"
💥 OhNo • Error: ENOENT: no such file or directory, open './src/examples/data/yolo.json'
◯
├─ read-file
│ ~ 0ms
╰─ with-tagged-error-task
~ 0ms
◯ Sources 🕵️
│ at catch (./src/examples/tagged-error-with-error-ctor.ts:15:19)
│ at ./src/examples/tagged-error-with-error-ctor.ts:17:10
│ at ./src/examples/tagged-error-with-error-ctor.ts:22:10
┴
"
❯ src/examples/tagged-error-with-error-ctor.test.ts:48:20
|
|
src/examples/schema-error.test.ts > schema-error task > should display node stack:
src/examples/schema-error.test.ts#L63
AssertionError: expected '\r\n💥 \u001b[41m\u001b[37m Something…' to match /│ at catcher \(.*\/effe…/effect-errors\
- Expected:
/│ at catcher \(.*\/effect-errors\/src\/examples\/schema-error\.ts:14:19\)/
+ Received:
"
💥 SomethingBad • Error: ENOENT: no such file or directory, open 'cool.ts'
◯
├─ read-file
│ ~ 0ms
╰─ with-schema-error-task
~ 0ms
◯ Sources 🕵️
│ at catch (/home/runner/work/effect-errors/effect-errors/src/examples/schema-error.ts:14:19)
│ at /home/runner/work/effect-errors/effect-errors/src/examples/schema-error.ts:16:10
│ at /home/runner/work/effect-errors/effect-errors/src/examples/schema-error.ts:21:10
┴
◯ Node Stacktrace 🚨
│ at catch (/home/runner/work/effect-errors/effect-errors/src/examples/schema-error.ts:14:19)
│ at EffectPrimitive.effect_instruction_i0 (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/core-effect.js:579:51)
│ at file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:931:41
│ at effect_internal_function (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/Utils.js:333:12)
│ at FiberRuntime.Sync (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:931:19)
│ at file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:1137:31
│ at Object.context (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/tracer.js:80:17)
│ at FiberRuntime.runLoop (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:1128:34)
│ at FiberRuntime.evaluateEffect (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:732:27)
│ at FiberRuntime.evaluateMessageWhileSuspended (file:///home/runner/work/effect-errors/effect-errors/node_modules/.pnpm/[email protected]/node_modules/effect/dist/esm/internal/fiberRuntime.js:707:16)
┴
"
❯ src/examples/schema-error.test.ts:63:20
|
|
src/examples/schema-error.test.ts > schema-error task > should display sources by default:
src/examples/schema-error.test.ts#L49
AssertionError: expected '\r\n💥 \u001b[41m\u001b[37m Something…' to match /│ at catcher \(.\/src\/examples\/…/src\
- Expected:
/│ at catcher \(.\/src\/examples\/schema-error\.ts:14:19\)/
+ Received:
"
💥 SomethingBad • Error: ENOENT: no such file or directory, open 'cool.ts'
◯
├─ read-file
│ ~ 0ms
╰─ with-schema-error-task
~ 0ms
◯ Sources 🕵️
│ at catch (./src/examples/schema-error.ts:14:19)
│ at ./src/examples/schema-error.ts:16:10
│ at ./src/examples/schema-error.ts:21:10
┴
"
❯ src/examples/schema-error.test.ts:49:20
|
|
src/examples/long-running.test.ts > long-running task > should display sources by default:
src/examples/long-running.test.ts#L63
AssertionError: expected '\r\n💥 \u001b[41m\u001b[37m Something…' to match /│ at catcher \(\.\/src\/examples\…/src\
- Expected:
/│ at catcher \(\.\/src\/examples\/long-running.ts:14:19\)/
+ Received:
"
💥 SomethingBad • Error: ENOENT: no such file or directory, open 'cool.ts'
◯
├─ read-file
│ ~ 0ms
╰─ long-running-task
~ 2000ms
◯ Sources 🕵️
│ at catch (./src/examples/long-running.ts:14:19)
│ at ./src/examples/long-running.ts:16:10
│ at ./src/examples/long-running.ts:21:10
┴
"
❯ src/examples/long-running.test.ts:63:20
|