Skip to content

Simplify internal/cause.ts by using the internal Option.mergeWith #8746

Simplify internal/cause.ts by using the internal Option.mergeWith

Simplify internal/cause.ts by using the internal Option.mergeWith #8746

Triggered via pull request January 30, 2025 19:04
Status Failure
Total duration 3m 6s
Artifacts

check.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors
test/Micro.test.ts > Micro > forEach > unbounded fail: packages/effect/test/util.ts#L16
(MicroCause.Die) AssertionError: Expected values to be strictly deep-equal: + actual - expected [ + 2, + 1, - 1, - 2, 3 ] ❯ Module.deepStrictEqual test/util.ts:16:10 ❯ Array.<anonymous> test/Micro.test.ts:236:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { _tag: 'Die', traces: [], defect: { stack: 'AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:\n+ actual - expected\n\n [\n+ 2,\n+ 1,\n- 1,\n- 2,\n 3\n ]\n at Module.deepStrictEqual (/home/runner/work/effect/effect/packages/effect/test/util.ts:16:10)\n at Array.<anonymous> (/home/runner/work/effect/effect/packages/effect/test/Micro.test.ts:236:9)\n at Generator.next (<anonymous>)\n at Object.contA (/home/runner/work/effect/effect/packages/effect/src/Micro.ts:1247:30)\n at Object.eval (/home/runner/work/effect/effect/packages/effect/src/Micro.ts:842:35)\n at MicroFiberImpl.runLoop (/home/runner/work/effect/effect/packages/effect/src/Micro.ts:562:44)\n at MicroFiberImpl.evaluate (/home/runner/work/effect/effect/packages/effect/src/Micro.ts:531:23)\n at /home/runner/work/effect/effect/packages/effect/src/Micro.ts:1160:15\n at Array.<anonymous> (/home/runner/work/effect/effect/packages/effect/src/Micro.ts:621:53)\n at MicroFiberImpl.evaluate (/home/runner/work/effect/effect/packages/effect/src/Micro.ts:545:24)', message: 'Expected values to be strictly deep-equal:\n+ actual - expected\n\n [\n+ 2,\n+ 1,\n- 1,\n- 2,\n 3\n ]', generatedMessage: true, name: 'AssertionError', code: 'ERR_ASSERTION', actual: [ 2, 1, 3 ], expected: [ 1, 2, 3 ], operator: 'deepStrictEqual', constructor: 'Function<AssertionError>', toString: 'Function<toString>' }, pipe: 'Function<pipe>' }
Test (Node 3/4)
Process completed with exit code 1.