(token: Token, index: any, end: number, message: string)
| 67 | } |
| 68 | |
| 69 | function expectErrorToken(token: Token, index: any, end: number, message: string) { |
| 70 | expectToken(token, index, end); |
| 71 | expect(token.isError()).toBe(true); |
| 72 | expect(token.toString()).toEqual(message); |
| 73 | } |
| 74 | |
| 75 | function expectRegExpBodyToken(token: any, index: number, end: number, str: string) { |
| 76 | expectToken(token, index, end); |
no test coverage detected
searching dependent graphs…