Fix: handle the quantifier of a lookaround assertion #122
Annotations
5 errors
src/parser/gen-with-selected.ts#L4
TypeError: Class extends value undefined is not a constructor or null
❯ src/parser/gen-with-selected.ts:4:35
❯ src/parser/index.ts:18:31
|
src/parser/__tests__/non-literal-parse.test.ts#L309
AssertionError: expected { id: '', type: 'regex', …(4) } to deeply equal { id: '', type: 'regex', …(4) }
- Expected
+ Received
Object {
"body": Array [
Object {
"id": "",
+ "quantifier": null,
"ref": "1",
"type": "backReference",
},
],
"escapeBackslash": false,
"flags": Array [],
"id": "",
"literal": false,
"type": "regex",
}
❯ src/parser/__tests__/non-literal-parse.test.ts:309:5
|
src/parser/__tests__/non-literal-parse.test.ts#L348
AssertionError: expected { id: '', type: 'regex', …(4) } to deeply equal { id: '', type: 'regex', …(4) }
- Expected
+ Received
Object {
"body": Array [
Object {
"id": "",
+ "quantifier": null,
"ref": "1",
"type": "backReference",
},
],
"escapeBackslash": true,
"flags": Array [],
"id": "",
"literal": false,
"type": "regex",
}
❯ src/parser/__tests__/non-literal-parse.test.ts:348:5
|
src/parser/gen-with-selected.ts#L4
TypeError: Class extends value undefined is not a constructor or null
❯ src/parser/gen-with-selected.ts:4:35
❯ src/parser/index.ts:18:31
|
|
This job failed
Loading