diff options
Diffstat (limited to 'js/compiler_test.ts')
-rw-r--r-- | js/compiler_test.ts | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/js/compiler_test.ts b/js/compiler_test.ts index fef18ec3d..e3be535bd 100644 --- a/js/compiler_test.ts +++ b/js/compiler_test.ts @@ -461,16 +461,24 @@ test(function compilerGetScriptFileNames() { test(function compilerRecompileFlag() { setup(); compilerInstance.run("foo/bar.ts", "/root/project"); - assertEqual(getEmitOutputStack.length, 1, "Expected only a single emitted file."); + assertEqual( + getEmitOutputStack.length, + 1, + "Expected only a single emitted file." + ); // running compiler against same file should use cached code compilerInstance.run("foo/bar.ts", "/root/project"); - assertEqual(getEmitOutputStack.length, 1, "Expected only a single emitted file."); + assertEqual( + getEmitOutputStack.length, + 1, + "Expected only a single emitted file." + ); compilerInstance.recompile = true; compilerInstance.run("foo/bar.ts", "/root/project"); assertEqual(getEmitOutputStack.length, 2, "Expected two emitted file."); assert( - getEmitOutputStack[0] === getEmitOutputStack[1], - "Expected same file to be emitted twice." + getEmitOutputStack[0] === getEmitOutputStack[1], + "Expected same file to be emitted twice." ); teardown(); }); |