From 9dc3ae8523364b8df6b8e92346907d1020e80d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 18 May 2023 12:49:56 +0200 Subject: 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. --- test_napi/tests/napi_tests.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test_napi/tests') 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}"); } -- cgit v1.2.3