diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-05-03 18:44:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 18:44:05 +0200 |
commit | 5ddb83a4c2a5622d0ea173c0798550ae76e1fd69 (patch) | |
tree | ff76e50c1dd9121a8c5d8ee6a00384f3d5f09305 /cli/tests/unit/error_stack_test.ts | |
parent | 256dcb058ac2dd2a935076922265278c56264050 (diff) |
BREAKING: Remove unstable Deno.applySourceMap API (#14473)
Diffstat (limited to 'cli/tests/unit/error_stack_test.ts')
-rw-r--r-- | cli/tests/unit/error_stack_test.ts | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/cli/tests/unit/error_stack_test.ts b/cli/tests/unit/error_stack_test.ts index e8d29569f..8444972a8 100644 --- a/cli/tests/unit/error_stack_test.ts +++ b/cli/tests/unit/error_stack_test.ts @@ -1,5 +1,5 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. -import { assert, assertEquals, assertMatch } from "./test_util.ts"; +import { assertEquals, assertMatch } from "./test_util.ts"; Deno.test(function errorStackMessageLine() { const e1 = new Error(); @@ -52,17 +52,3 @@ Deno.test(function captureStackTrace() { } foo(); }); - -// FIXME(bartlomieju): no longer works after migrating -// to JavaScript runtime code -Deno.test({ ignore: true }, function applySourceMap() { - const result = Deno.applySourceMap({ - fileName: "CLI_SNAPSHOT.js", - lineNumber: 23, - columnNumber: 0, - }); - Deno.core.print(`result: ${result}`, true); - assert(result.fileName.endsWith(".ts")); - assert(result.lineNumber != null); - assert(result.columnNumber != null); -}); |