8f72a5af60
* fix: #236 export AbstractParseTreeVisitor * build: set isolatedModules true * feat: import parser about from filters
17 lines
395 B
TypeScript
17 lines
395 B
TypeScript
import { PostgresSQL } from '../../../filters';
|
|
import { readSQL } from '../../../helper';
|
|
|
|
const parser = new PostgresSQL();
|
|
|
|
const features = {
|
|
others: readSQL(__dirname, 'others.sql'),
|
|
};
|
|
|
|
describe('PgSQL Other SQL Syntax Tests', () => {
|
|
features.others.forEach((other) => {
|
|
it(other, () => {
|
|
expect(parser.validate(other).length).toBe(0);
|
|
});
|
|
});
|
|
});
|