summaryrefslogtreecommitdiff
path: root/test_napi/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-05-18 12:49:56 +0200
committerGitHub <noreply@github.com>2023-05-18 12:49:56 +0200
commit9dc3ae8523364b8df6b8e92346907d1020e80d33 (patch)
treec183f1390c0630729fe2ca864d5284641e7a0e8b /test_napi/tests
parent99c30285ffa14097978f220a05809cbf8f68b9d3 (diff)
fix(napi): BigInt related APIs (#19174)
Doesn't make the API bullet-proof and there are some TODOs left, but greatly improves the situation. Tests were ported from Node.js. Closes https://github.com/denoland/deno/issues/18276.
Diffstat (limited to 'test_napi/tests')
-rw-r--r--test_napi/tests/napi_tests.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_napi/tests/napi_tests.rs b/test_napi/tests/napi_tests.rs
index 747f6aa27..3e3989436 100644
--- a/test_napi/tests/napi_tests.rs
+++ b/test_napi/tests/napi_tests.rs
@@ -26,6 +26,7 @@ fn napi_tests() {
let output = deno_cmd()
.current_dir(test_util::napi_tests_path())
+ .env("RUST_BACKTRACE", "1")
.arg("test")
.arg("--allow-read")
.arg("--allow-env")
@@ -39,6 +40,7 @@ fn napi_tests() {
let stderr = std::str::from_utf8(&output.stderr).unwrap();
if !output.status.success() {
+ eprintln!("exit code {:?}", output.status.code());
println!("stdout {stdout}");
println!("stderr {stderr}");
}