Skip to content

update tests dontMock -> doUnmock #639

update tests dontMock -> doUnmock

update tests dontMock -> doUnmock #639

Triggered via push August 18, 2024 01:38
Status Failure
Total duration 1m 53s
Artifacts

main.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

71 errors
tests/nx.test.ts > NX Transformer > Plugin > Before properly routes transform: test/tests/nx.test.ts#L37
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:37:33
tests/nx.test.ts > NX Transformer > Plugin > After properly routes transform: test/tests/nx.test.ts#L50
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:50:33
tests/register.test.ts > Register script > Initialize > Returns instance, tsNode, and symbol: test/tests/register.test.ts#L64
AssertionError: expected { __esModule: true, …(12) } to be { __esModule: true, …(12) } // Object.is equality If it should pass with deep equality, replace "toBe" with "toStrictEqual" Expected: { __esModule: true, …(12) } Received: serializes to the same string Compared values have no visual difference. ❯ tests/register.test.ts:64:26
tests/register.test.ts > Register script > Register > Throws without ts-node: test/tests/register.test.ts#L74
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:74:48
tests/register.test.ts > Register script > Register > Throws if can't register ts-node: test/tests/register.test.ts#L80
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:80:48
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'afterDeclarations' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { …(3) } to strictly equal { …(3) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], "before": Array [ [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
build (macos-latest, 20)
The job was canceled because "ubuntu-latest_22" failed.
tests/nx.test.ts > NX Transformer > Plugin > Before properly routes transform: test/tests/nx.test.ts#L37
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:37:33
tests/nx.test.ts > NX Transformer > Plugin > After properly routes transform: test/tests/nx.test.ts#L50
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:50:33
tests/register.test.ts > Register script > Initialize > Returns instance, tsNode, and symbol: test/tests/register.test.ts#L64
AssertionError: expected { __esModule: true, …(12) } to be { __esModule: true, …(12) } // Object.is equality If it should pass with deep equality, replace "toBe" with "toStrictEqual" Expected: { __esModule: true, …(12) } Received: serializes to the same string Compared values have no visual difference. ❯ tests/register.test.ts:64:26
tests/register.test.ts > Register script > Register > Throws without ts-node: test/tests/register.test.ts#L74
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:74:48
tests/register.test.ts > Register script > Register > Throws if can't register ts-node: test/tests/register.test.ts#L80
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:80:48
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'afterDeclarations' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { …(3) } to strictly equal { …(3) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], "before": Array [ [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
build (macos-latest, 18)
The job was canceled because "ubuntu-latest_22" failed.
tests/nx.test.ts > NX Transformer > Plugin > Before properly routes transform: test/tests/nx.test.ts#L37
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:37:33
tests/nx.test.ts > NX Transformer > Plugin > After properly routes transform: test/tests/nx.test.ts#L50
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:50:33
tests/register.test.ts > Register script > Initialize > Returns instance, tsNode, and symbol: test/tests/register.test.ts#L64
AssertionError: expected { __esModule: true, …(12) } to be { __esModule: true, …(12) } // Object.is equality If it should pass with deep equality, replace "toBe" with "toStrictEqual" Expected: { __esModule: true, …(12) } Received: serializes to the same string Compared values have no visual difference. ❯ tests/register.test.ts:64:26
tests/register.test.ts > Register script > Register > Throws without ts-node: test/tests/register.test.ts#L74
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:74:48
tests/register.test.ts > Register script > Register > Throws if can't register ts-node: test/tests/register.test.ts#L80
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:80:48
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'afterDeclarations' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { …(3) } to strictly equal { …(3) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], "before": Array [ [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
build (windows-latest, 22)
The job was canceled because "ubuntu-latest_22" failed.
build (windows-latest, 22)
The operation was canceled.
build (windows-latest, 20)
The job was canceled because "ubuntu-latest_22" failed.
build (windows-latest, 20)
The operation was canceled.
build (windows-latest, 18)
The job was canceled because "ubuntu-latest_22" failed.
build (windows-latest, 18)
The operation was canceled.
build (ubuntu-latest, 20)
The job was canceled because "ubuntu-latest_22" failed.
tests/nx.test.ts > NX Transformer > Plugin > Before properly routes transform: test/tests/nx.test.ts#L37
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:37:33
tests/nx.test.ts > NX Transformer > Plugin > After properly routes transform: test/tests/nx.test.ts#L50
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:50:33
tests/register.test.ts > Register script > Initialize > Returns instance, tsNode, and symbol: test/tests/register.test.ts#L64
AssertionError: expected { __esModule: true, …(12) } to be { __esModule: true, …(12) } // Object.is equality If it should pass with deep equality, replace "toBe" with "toStrictEqual" Expected: { __esModule: true, …(12) } Received: serializes to the same string Compared values have no visual difference. ❯ tests/register.test.ts:64:26
tests/register.test.ts > Register script > Register > Throws without ts-node: test/tests/register.test.ts#L74
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:74:48
tests/register.test.ts > Register script > Register > Throws if can't register ts-node: test/tests/register.test.ts#L80
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:80:48
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'afterDeclarations' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { …(3) } to strictly equal { …(3) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], "before": Array [ [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
build (ubuntu-latest, 18)
The job was canceled because "ubuntu-latest_22" failed.
build (macos-latest, 22)
The job was canceled because "ubuntu-latest_22" failed.
tests/nx.test.ts > NX Transformer > Plugin > Before properly routes transform: test/tests/nx.test.ts#L37
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:37:33
tests/nx.test.ts > NX Transformer > Plugin > Before properly routes transform: test/tests/nx.test.ts#L37
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:37:33
tests/nx.test.ts > NX Transformer > Plugin > After properly routes transform: test/tests/nx.test.ts#L50
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:50:33
tests/nx.test.ts > NX Transformer > Plugin > After properly routes transform: test/tests/nx.test.ts#L50
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/nx.test.ts:50:33
tests/register.test.ts > Register script > Initialize > Returns instance, tsNode, and symbol: test/tests/register.test.ts#L64
AssertionError: expected { __esModule: true, …(12) } to be { __esModule: true, …(12) } // Object.is equality If it should pass with deep equality, replace "toBe" with "toStrictEqual" Expected: { __esModule: true, …(12) } Received: serializes to the same string Compared values have no visual difference. ❯ tests/register.test.ts:64:26
tests/register.test.ts > Register script > Initialize > Returns instance, tsNode, and symbol: test/tests/register.test.ts#L64
AssertionError: expected { __esModule: true, …(12) } to be { __esModule: true, …(12) } // Object.is equality If it should pass with deep equality, replace "toBe" with "toStrictEqual" Expected: { __esModule: true, …(12) } Received: serializes to the same string Compared values have no visual difference. ❯ tests/register.test.ts:64:26
tests/register.test.ts > Register script > Register > Throws without ts-node: test/tests/register.test.ts#L74
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:74:48
tests/register.test.ts > Register script > Register > Throws without ts-node: test/tests/register.test.ts#L74
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:74:48
tests/register.test.ts > Register script > Register > Throws if can't register ts-node: test/tests/register.test.ts#L80
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:80:48
tests/register.test.ts > Register script > Register > Throws if can't register ts-node: test/tests/register.test.ts#L80
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ tests/register.test.ts:80:48
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Implicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { before: [ [Function], …(1) ], …(2) } to strictly equal { before: [ …(2) ], …(2) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ [Function fakeExistingTransformer2], ], "before": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'Explicit before' > Transformer instantiated w/ proper config: test/tests/register.test.ts#L181
AssertionError: expected "transformer" to be called 1 times, but got 0 times ❯ tests/register.test.ts:181:35
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'afterDeclarations' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { …(3) } to strictly equal { …(3) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], "before": Array [ [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38
tests/register.test.ts > Register script > Register > Existing Transformer Config > 'afterDeclarations' > Registers correct transformers: test/tests/register.test.ts#L177
AssertionError: expected { …(3) } to strictly equal { …(3) } - Expected + Received Object { "after": Array [ [Function fakeExistingTransformer2], ], "afterDeclarations": Array [ - [Function fakeTransformer2], + [Function anonymous], [Function fakeExistingTransformer2], ], "before": Array [ [Function fakeExistingTransformer2], ], } ❯ tests/register.test.ts:177:38