8f72a5af60
* fix: #236 export AbstractParseTreeVisitor * build: set isolatedModules true * feat: import parser about from filters
13 lines
293 B
TypeScript
13 lines
293 B
TypeScript
import { ImpalaSQL } from '../../filters';
|
|
|
|
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);
|
|
});
|
|
});
|