Add testcases

This commit is contained in:
Asad Saeeduddin 2016-02-20 12:42:35 -05:00
parent 3879fe69bb
commit 0d54e54d2a
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{
"scenario": "declarationDir: specify declarationDir only",
"projectRoot": "tests/cases/projects/declarationDir",
"inputFiles": [
"a.ts",
"subfolder/b.ts",
"subfolder/c.ts"
],
"declaration": true,
"declarationDir": "declarations",
"baselineCheck": true
}

View File

@ -0,0 +1,13 @@
{
"scenario": "declarationDir: specify declarationDir with outDir",
"projectRoot": "tests/cases/projects/declarationDir",
"inputFiles": [
"a.ts",
"subfolder/b.ts",
"subfolder/c.ts"
],
"outDir": "out",
"declaration": true,
"declarationDir": "declarations",
"baselineCheck": true
}

View File

@ -0,0 +1,13 @@
{
"scenario": "declarationDir: specify declarationDir with bundled output file",
"projectRoot": "tests/cases/projects/declarationDir",
"inputFiles": [
"a.ts",
"subfolder/b.ts",
"subfolder/c.ts"
],
"out": "out.js",
"declaration": true,
"declarationDir": "declarations",
"baselineCheck": true
}