8f72a5af60
* fix: #236 export AbstractParseTreeVisitor * build: set isolatedModules true * feat: import parser about from filters
13 lines
292 B
TypeScript
13 lines
292 B
TypeScript
import { PLSQL } from '../../filters';
|
|
|
|
describe('PLSQL Lexer tests', () => {
|
|
const parser = new PLSQL();
|
|
|
|
const sql = 'select id,name,sex from user1;';
|
|
const tokens = parser.getAllTokens(sql);
|
|
|
|
test('token counts', () => {
|
|
expect(tokens.length).toBe(12);
|
|
});
|
|
});
|