feat: Use Oniguruma-To-ES in the JS engine (#828) #557
ci.yml
on: pull_request
lint
40s
typecheck
1m 9s
Matrix: test
Annotations
7 errors and 4 warnings
packages/engine-javascript/test/compare.test.ts > cases > sql:
packages/engine-javascript/test/compare.test.ts#L194
AssertionError: expected [ [ …(6) ] ] to deeply equal [ [ …(3) ] ]
- Expected
+ Received
Array [
Array [
Object {
"color": "#81A1C1",
"content": "SELECT",
"fontStyle": 0,
"offset": 0,
},
Object {
"color": "#D8DEE9FF",
"content": " ",
"fontStyle": 0,
"offset": 6,
},
Object {
"color": "#81A1C1",
- "content": "* FROM foo",
+ "content": "*",
"fontStyle": 0,
"offset": 7,
+ },
+ Object {
+ "color": "#D8DEE9FF",
+ "content": " ",
+ "fontStyle": 0,
+ "offset": 8,
+ },
+ Object {
+ "color": "#81A1C1",
+ "content": "FROM",
+ "fontStyle": 0,
+ "offset": 9,
+ },
+ Object {
+ "color": "#D8DEE9FF",
+ "content": " foo",
+ "fontStyle": 0,
+ "offset": 13,
},
],
]
❯ packages/engine-javascript/test/compare.test.ts:194:24
❯ packages/engine-javascript/test/compare.test.ts:193:15
|
test (20.x, ubuntu-latest)
Process completed with exit code 1.
|
packages/engine-javascript/test/compare.test.ts > cases > sql:
packages/engine-javascript/test/compare.test.ts#L194
AssertionError: expected [ [ …(6) ] ] to deeply equal [ [ …(3) ] ]
- Expected
+ Received
Array [
Array [
Object {
"color": "#81A1C1",
"content": "SELECT",
"fontStyle": 0,
"offset": 0,
},
Object {
"color": "#D8DEE9FF",
"content": " ",
"fontStyle": 0,
"offset": 6,
},
Object {
"color": "#81A1C1",
- "content": "* FROM foo",
+ "content": "*",
"fontStyle": 0,
"offset": 7,
+ },
+ Object {
+ "color": "#D8DEE9FF",
+ "content": " ",
+ "fontStyle": 0,
+ "offset": 8,
+ },
+ Object {
+ "color": "#81A1C1",
+ "content": "FROM",
+ "fontStyle": 0,
+ "offset": 9,
+ },
+ Object {
+ "color": "#D8DEE9FF",
+ "content": " foo",
+ "fontStyle": 0,
+ "offset": 13,
},
],
]
❯ packages/engine-javascript/test/compare.test.ts:194:24
❯ packages/engine-javascript/test/compare.test.ts:193:15
|
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
|
packages/engine-javascript/test/compare.test.ts > cases > html-basic:
packages/engine-javascript/test/compare.test.ts#L194
AssertionError: expected [ [ { content: '<div', …(3) }, …(9) ] ] to deeply equal [ [ { content: '<div', …(3) }, …(2) ] ]
- Expected
+ Received
Array [
Array [
Object {
"color": "#81A1C1",
"content": "<div",
"fontStyle": 0,
"offset": 0,
},
Object {
"color": "#D8DEE9FF",
"content": " ",
"fontStyle": 0,
"offset": 4,
},
Object {
"color": "#8FBCBB",
- "content": "class=\"foo\">bar</div>",
+ "content": "class",
"fontStyle": 0,
"offset": 5,
+ },
+ Object {
+ "color": "#81A1C1",
+ "content": "=",
+ "fontStyle": 0,
+ "offset": 10,
+ },
+ Object {
+ "color": "#ECEFF4",
+ "content": "\"",
+ "fontStyle": 0,
+ "offset": 11,
+ },
+ Object {
+ "color": "#A3BE8C",
+ "content": "foo",
+ "fontStyle": 0,
+ "offset": 12,
+ },
+ Object {
+ "color": "#ECEFF4",
+ "content": "\"",
+ "fontStyle": 0,
+ "offset": 15,
+ },
+ Object {
+ "color": "#81A1C1",
+ "content": ">",
+ "fontStyle": 0,
+ "offset": 16,
+ },
+ Object {
+ "color": "#D8DEE9FF",
+ "content": "bar",
+ "fontStyle": 0,
+ "offset": 17,
+ },
+ Object {
+ "color": "#81A1C1",
+ "content": "</div>",
+ "fontStyle": 0,
+ "offset": 20,
},
],
]
❯ packages/engine-javascript/test/compare.test.ts:194:24
❯ packages/engine-javascript/test/compare.test.ts:193:15
|
packages/engine-javascript/test/compare.test.ts > cases > sql:
packages/engine-javascript/test/compare.test.ts#L194
AssertionError: expected [ [ …(6) ] ] to deeply equal [ [ …(3) ] ]
- Expected
+ Received
Array [
Array [
Object {
"color": "#81A1C1",
"content": "SELECT",
"fontStyle": 0,
"offset": 0,
},
Object {
"color": "#D8DEE9FF",
"content": " ",
"fontStyle": 0,
"offset": 6,
},
Object {
"color": "#81A1C1",
- "content": "* FROM foo",
+ "content": "*",
"fontStyle": 0,
"offset": 7,
+ },
+ Object {
+ "color": "#D8DEE9FF",
+ "content": " ",
+ "fontStyle": 0,
+ "offset": 8,
+ },
+ Object {
+ "color": "#81A1C1",
+ "content": "FROM",
+ "fontStyle": 0,
+ "offset": 9,
+ },
+ Object {
+ "color": "#D8DEE9FF",
+ "content": " foo",
+ "fontStyle": 0,
+ "offset": 13,
},
],
]
❯ packages/engine-javascript/test/compare.test.ts:194:24
❯ packages/engine-javascript/test/compare.test.ts:193:15
|
test (lts/*, windows-latest)
Process completed with exit code 1.
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
typecheck
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test (lts/*, macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test (18.x, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|