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 parser = new TrinoSQL(); // describe statements features.describe.forEach((sql) => { it(sql, () => { expect(parser.validate(sql).length).toBe(0); }); }); });