test: improve snapshot testing for js engine #600
Annotations
10 errors and 1 warning
Test:
packages/engine-javascript/test/compare.test.ts#L237
Error: Snapshot `cases > json-basic 2` mismatched
❯ packages/engine-javascript/test/compare.test.ts:237:7
|
Test:
packages/engine-javascript/test/compare.test.ts#L237
Error: Snapshot `cases > html-basic 2` mismatched
❯ packages/engine-javascript/test/compare.test.ts:237:7
|
Test:
packages/engine-javascript/test/compare.test.ts#L237
Error: Snapshot `cases > ts-basic 2` mismatched
❯ packages/engine-javascript/test/compare.test.ts:237:7
|
Test:
packages/engine-javascript/test/compare.test.ts#L237
Error: Snapshot `cases > jsonc 2` mismatched
❯ packages/engine-javascript/test/compare.test.ts:237:7
|
Test:
packages/engine-javascript/test/compare.test.ts#L237
Error: Snapshot `cases > vue 2` mismatched
❯ packages/engine-javascript/test/compare.test.ts:237:7
|
Test:
packages/engine-javascript/test/compare.test.ts#L237
Error: Snapshot `cases > toml 2` mismatched
❯ packages/engine-javascript/test/compare.test.ts:237:7
|
Test:
packages/engine-javascript/test/compare.test.ts#L237
Error: Snapshot `cases > sql 2` mismatched
❯ packages/engine-javascript/test/compare.test.ts:237:7
|
Test:
packages/engine-javascript/test/verify.test.ts#L53
AssertionError: expected { index: +0, captureIndices: [ …(2) ] } to deeply equal null
- Expected:
null
+ Received:
Object {
"captureIndices": Array [
Object {
"end": 43,
"length": 0,
"start": 43,
},
Object {
"end": 43,
"length": 0,
"start": 43,
},
],
"index": 0,
}
❯ packages/engine-javascript/test/verify.test.ts:53:30
|
Test:
packages/engine-javascript/test/verify.test.ts#L53
AssertionError: expected { index: +0, captureIndices: [ …(2) ] } to deeply equal null
- Expected:
null
+ Received:
Object {
"captureIndices": Array [
Object {
"end": 45,
"length": 0,
"start": 45,
},
Object {
"end": 45,
"length": 0,
"start": 45,
},
],
"index": 0,
}
❯ packages/engine-javascript/test/verify.test.ts:53:30
|
Test:
packages/engine-javascript/test/verify.test.ts#L53
AssertionError: expected { index: +0, captureIndices: [ …(2) ] } to deeply equal null
- Expected:
null
+ Received:
Object {
"captureIndices": Array [
Object {
"end": 43,
"length": 0,
"start": 43,
},
Object {
"end": 43,
"length": 0,
"start": 43,
},
],
"index": 0,
}
❯ packages/engine-javascript/test/verify.test.ts:53:30
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading