blob: 05d647eda103945b0633bef0b53ee789268165d3 [file] [log] [blame]
"use strict";
const { collect } = require("./util/collect");
const expect = require("expect");
const debug = true;
describe("Parses all of the IDLs to produce the correct ASTs", () => {
for (const test of collect("syntax")) {
it(`should produce the same AST for ${test.path}`, () => {
try {
expect(test.diff()).toBeFalsy();
}
catch (e) {
console.log(e.toString());
throw e;
}
});
}
});