ecbbee32c7
* test: remove barrier files to improve unit testing performance * chore: change check-types command
13 lines
293 B
TypeScript
13 lines
293 B
TypeScript
import ImpalaSQL from 'src/parser/impala';
|
|
|
|
describe('ImpalaSQL Lexer tests', () => {
|
|
const parser = new ImpalaSQL();
|
|
|
|
const sql = 'SELECT * FROM table1';
|
|
const tokens = parser.getAllTokens(sql);
|
|
|
|
test('token counts', () => {
|
|
expect(tokens.length).toBe(7);
|
|
});
|
|
});
|