update tests dontMock -> doUnmock #645
Annotations
35 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 (windows-latest, 18)
The job was canceled because "macos-latest_20" failed.
|
build (windows-latest, 18)
The operation was canceled.
|
build (windows-latest, 20)
The job was canceled because "macos-latest_20" failed.
|
build (windows-latest, 20)
The operation was canceled.
|
build (windows-latest, 22)
The job was canceled because "macos-latest_20" failed.
|
build (windows-latest, 22)
The operation was canceled.
|
build (ubuntu-latest, 22)
The job was canceled because "macos-latest_20" 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, 20)
The job was canceled because "macos-latest_20" failed.
|
build (ubuntu-latest, 20)
The operation was canceled.
|
build (ubuntu-latest, 18)
The job was canceled because "macos-latest_20" failed.
|
build (ubuntu-latest, 18)
The operation was canceled.
|
build (macos-latest, 18)
The job was canceled because "macos-latest_20" failed.
|
build (macos-latest, 18)
The operation was canceled.
|
build (macos-latest, 22)
The job was canceled because "macos-latest_20" failed.
|
build (macos-latest, 22)
The operation was canceled.
|