diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2018-10-12 08:23:13 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-11 20:29:43 -0400 |
commit | ec402c6932128d215f78c77661d84472a89b72b1 (patch) | |
tree | 899cfd7895c900300ad6c9199f277377c5d093fb /js/compiler_test.ts | |
parent | fda7aaa10e173bfa8ef864a74a274af69fc01cca (diff) |
Replace globals.d.ts with lib.deno_runtime.d.ts
Diffstat (limited to 'js/compiler_test.ts')
-rw-r--r-- | js/compiler_test.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/js/compiler_test.ts b/js/compiler_test.ts index dcb8c1285..f05a96e52 100644 --- a/js/compiler_test.ts +++ b/js/compiler_test.ts @@ -546,7 +546,10 @@ test(function compilerGetCurrentDirectory() { test(function compilerGetDefaultLibFileName() { setup(); - assertEqual(compilerInstance.getDefaultLibFileName(), "$asset$/globals.d.ts"); + assertEqual( + compilerInstance.getDefaultLibFileName(), + "$asset$/lib.deno_runtime.d.ts" + ); teardown(); }); @@ -572,7 +575,7 @@ test(function compilerFileExists() { "/root/project" ); assert(compilerInstance.fileExists(moduleMetaData.fileName)); - assert(compilerInstance.fileExists("$asset$/globals.d.ts")); + assert(compilerInstance.fileExists("$asset$/lib.deno_runtime.d.ts")); assertEqual( compilerInstance.fileExists("/root/project/unknown-module.ts"), false @@ -590,7 +593,7 @@ test(function compilerResolveModuleNames() { const fixtures: Array<[string, boolean]> = [ ["/root/project/foo/bar.ts", false], ["/root/project/foo/baz.ts", false], - ["$asset$/globals.d.ts", true] + ["$asset$/lib.deno_runtime.d.ts", true] ]; for (let i = 0; i < results.length; i++) { const result = results[i]; |