Skip to content

Commit 2034249

Browse files
zapp-brannigan-dotalolleko
authored andcommitted
Fix compiler option test (#69)
* Fix compiler options test
1 parent 715cdb7 commit 2034249

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

test/integration/compiler.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class CompilerTests {
99
@TestCase('tsconfig.outDir.json', ['outDir/typescript_lualib.lua', 'outDir/nested/folder/file.lua'])
1010
@TestCase('tsconfig.rootDir.json', ['nested/typescript_lualib.lua', 'nested/folder/file.lua'])
1111
@TestCase('tsconfig.bothDirOptions.json', ['outDir/typescript_lualib.lua', 'outDir/folder/file.lua'])
12-
@Test("Compile project")
12+
@Test("Compile options: outDir and rootDir")
1313
public compileProject(tsconfig: string, expectedFiles: string[]) {
1414
const compilerPath = resolve('dist/Compiler.js');
1515
const tsconfigPath = resolve('test/integration/project', tsconfig);

test/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"compilerOptions": {
33
"experimentalDecorators": true
44
},
5-
"exclude": ["integration/testfiles/*"]
5+
"exclude": [
6+
"integration/testfiles/*",
7+
"integration/project/*"
8+
]
69
}

0 commit comments

Comments
 (0)