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