mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Add testcases
This commit is contained in:
parent
3879fe69bb
commit
0d54e54d2a
12
tests/cases/project/declarationDir.json
Normal file
12
tests/cases/project/declarationDir.json
Normal 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
|
||||
}
|
||||
13
tests/cases/project/declarationDir2.json
Normal file
13
tests/cases/project/declarationDir2.json
Normal 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
|
||||
}
|
||||
13
tests/cases/project/declarationDir3.json
Normal file
13
tests/cases/project/declarationDir3.json
Normal 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user