summaryrefslogtreecommitdiff
path: root/test_napi/common.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-01-15 04:36:55 +0100
committerGitHub <noreply@github.com>2023-01-15 09:06:55 +0530
commitdf8bfa26be69af46b8f166e255330b5ba8d48893 (patch)
treee6aa1dec47e82d5cf2b3b01583a2c7fcb099e741 /test_napi/common.js
parente4c6e6e95f626b1ce8601f48344a76045f2d6479 (diff)
fix(napi): functions related to errors (#17370)
This commits fixes various NAPI functions related to creation and throwing of errors.
Diffstat (limited to 'test_napi/common.js')
-rw-r--r--test_napi/common.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_napi/common.js b/test_napi/common.js
index d1db4e9bf..23f58c60c 100644
--- a/test_napi/common.js
+++ b/test_napi/common.js
@@ -4,6 +4,7 @@ export {
assert,
assertEquals,
assertRejects,
+ assertThrows,
} from "../test_util/std/testing/asserts.ts";
export { fromFileUrl } from "../test_util/std/path/mod.ts";