summaryrefslogtreecommitdiff
path: root/js/compiler_test.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-09-22 01:03:39 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-09-25 17:02:49 -0400
commit7fb28219375b52f3055e79d9d9b103a08dbb0790 (patch)
treeca7f84d6c65194596182cc7e14a5f2db49eb0561 /js/compiler_test.ts
parenta6f6d0b7126ae53347bf41ad8751bfdce400e271 (diff)
format
Diffstat (limited to 'js/compiler_test.ts')
-rw-r--r--js/compiler_test.ts16
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();
});