From 5ddb83a4c2a5622d0ea173c0798550ae76e1fd69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 3 May 2022 18:44:05 +0200 Subject: BREAKING: Remove unstable Deno.applySourceMap API (#14473) --- cli/tests/unit/error_stack_test.ts | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'cli/tests/unit/error_stack_test.ts') 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); -}); -- cgit v1.2.3