import SparkSQL from '../../../../src/parser/spark'; import { readSQL } from '../../../helper'; const parser = new SparkSQL(); const features = { add: readSQL(__dirname, 'add.sql'), }; describe('Spark add Syntax Tests', () => { features.add.forEach((itemSql) => { it(itemSql, () => { expect(parser.validate(itemSql).length).toBe(0); }); }); });