Remove QueryList in favour of QueryBinary, adding a root Query node t… #156
ci.yaml
on: push
static-site
10s
gu-cdk-build
1m 24s
Annotations
3 errors and 1 warning
error: expect(received).toEqual(expected):
prosemirror-client/src/lang/parser.spec.ts#L73
{
kind: 0,
value: {
content: {
left: {
content: {
content: {
left: {
content: {
searchExpr: "a",
token: Token {
end: 1,
lexeme: "a",
literal: "a",
start: 1,
tokenType: "STRING",
},
type: "QueryStr",
},
type: "QueryContent",
},
right: [
Token {
end: 0,
+ lexeme: "",
+ literal: undefined,
- lexeme: "OR",
- literal: "OR",
start: 0,
tokenType: "OR",
},
{
left: {
content: {
searchExpr: "b",
token: Token {
end: 2,
lexeme: "b",
literal: "b",
start: 2,
tokenType: "STRING",
},
type: "QueryStr",
},
type: "QueryContent",
},
right: undefined,
type: "QueryBinary",
}
],
type: "QueryBinary",
},
type: "QueryGroup",
},
type: "QueryContent",
},
right: undefined,
type: "QueryBinary",
},
type: "Query",
},
}
- Expected - 2
+ Received + 2
at /home/runner/work/cql/cql/prosemirror-client/src/lang/parser.spec.ts:73:22
|
error: expect(received).toEqual(expected):
prosemirror-client/src/lang/parser.spec.ts#L179
{
kind: 0,
value: {
content: {
left: {
content: {
searchExpr: "a",
token: Token {
end: 2,
lexeme: "\"a\"",
literal: "a",
start: 0,
tokenType: "STRING",
},
type: "QueryStr",
},
type: "QueryContent",
},
right: [
Token {
end: 0,
+ lexeme: "",
+ literal: undefined,
- lexeme: "OR",
- literal: "OR",
start: 0,
tokenType: "OR",
},
{
left: {
content: {
key: Token {
end: 2,
lexeme: "+",
literal: "",
start: 2,
tokenType: "CHIP_KEY",
},
type: "QueryField",
value: undefined,
},
type: "QueryContent",
},
right: undefined,
type: "QueryBinary",
}
],
type: "QueryBinary",
},
type: "Query",
},
}
- Expected - 2
+ Received + 2
at /home/runner/work/cql/cql/prosemirror-client/src/lang/parser.spec.ts:179:22
|
static-site
Process completed with exit code 1.
|
gu-cdk-build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|