Test diff via schema for TypeScript

This commit is contained in:
Mark Probst 2018-04-05 22:43:41 -07:00
Родитель 036a5dd57a
Коммит 4ed107ecca
1 изменённых файлов: 14 добавлений и 3 удалений

Просмотреть файл

@ -432,9 +432,20 @@ export const TypeScriptLanguage: Language = {
// to the root test/tsconfig.json
return `TS_NODE_PROJECT= ts-node main.ts \"${sample}\"`;
},
// FIXME: enable once TypeScript supports unions
diffViaSchema: false,
skipDiffViaSchema: [],
diffViaSchema: true,
skipDiffViaSchema: [
"bug427.json",
"kitchen-sink.json",
"00c36.json",
"2df80.json",
"34702.json",
"76ae1.json",
"7fbfb.json",
"c8c7e.json",
"cda6c.json",
"e53b5.json",
"e8b04.json"
],
allowMissingNull: false,
output: "TopLevel.ts",
topLevel: "TopLevel",