(fileName: string)
| 4 | import { validateQuery } from "../src/validation" |
| 5 | |
| 6 | const pathToFixture = (fileName: string) => path.join(__dirname, "_fixtures", fileName) |
| 7 | |
| 8 | test("can parse and validate a JS file successfully", t => { |
| 9 | const { queries, tableSchemas } = parseSourceFile(loadSourceFile(pathToFixture("valid.js"))) |