summaryrefslogtreecommitdiff
path: root/cli/js/40_testing.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/40_testing.js')
-rw-r--r--cli/js/40_testing.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js
index 4dd24a286..9896df34b 100644
--- a/cli/js/40_testing.js
+++ b/cli/js/40_testing.js
@@ -708,7 +708,7 @@
);
}
testDesc.origin = getTestOrigin();
- const jsError = Deno.core.destructureError(new Error());
+ const jsError = core.destructureError(new Error());
testDesc.location = {
fileName: jsError.frames[1].fileName,
lineNumber: jsError.frames[1].lineNumber,
@@ -1290,7 +1290,7 @@
stepDesc.sanitizeResources ??= desc.sanitizeResources;
stepDesc.sanitizeExit ??= desc.sanitizeExit;
stepDesc.origin = getTestOrigin();
- const jsError = Deno.core.destructureError(new Error());
+ const jsError = core.destructureError(new Error());
stepDesc.location = {
fileName: jsError.frames[1].fileName,
lineNumber: jsError.frames[1].lineNumber,