summaryrefslogtreecommitdiff
path: root/test_util/src
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-10-05 07:06:44 -0700
committerGitHub <noreply@github.com>2022-10-05 19:36:44 +0530
commit0b016a7fb8639ce49603c8c339539174b191a4b1 (patch)
treec511060d701db60ede0214b7280e89c5749bbe62 /test_util/src
parent3a3a8484069c9c6955fcb83ea761f9f74638175a (diff)
feat(npm): implement Node API (#13633)
This PR implements the NAPI for loading native modules into Deno. Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com> Co-authored-by: DjDeveloper <43033058+DjDeveloperr@users.noreply.github.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'test_util/src')
-rw-r--r--test_util/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs
index 73fe3ff9b..363fe5d3f 100644
--- a/test_util/src/lib.rs
+++ b/test_util/src/lib.rs
@@ -116,6 +116,10 @@ pub fn third_party_path() -> PathBuf {
root_path().join("third_party")
}
+pub fn napi_tests_path() -> PathBuf {
+ root_path().join("test_napi")
+}
+
pub fn std_path() -> PathBuf {
root_path().join("test_util").join("std")
}