import { TrinoSQL } from 'src/parser/trino';
import { readSQL } from 'test/helper';
const features = {
describe: readSQL(__dirname, 'describe.sql'),
};
describe('TrinoSQL Describe Statements Syntax Tests', () => {
const trino = new TrinoSQL();
// describe statements
features.describe.forEach((sql) => {
it(sql, () => {
expect(trino.validate(sql).length).toBe(0);
});