summaryrefslogtreecommitdiff
path: root/test_util/src/lib.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-02-12 13:46:50 -0700
committerGitHub <noreply@github.com>2024-02-12 13:46:50 -0700
commitf60720090c7bd8cdf91d7aebd0c42e01c86b3b83 (patch)
tree9becb7ff7e40d37769601fa049beccd101d58a98 /test_util/src/lib.rs
parentbd1358efab8ba7339a8e70034315fa7da840292e (diff)
chore: move test_ffi and test_nap to tests/ [WIP] (#22394)
Moving some additional NAPI and. FFI tests out of the tree root.
Diffstat (limited to 'test_util/src/lib.rs')
-rw-r--r--test_util/src/lib.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs
index 7bb99a573..5eef6cf9a 100644
--- a/test_util/src/lib.rs
+++ b/test_util/src/lib.rs
@@ -87,8 +87,16 @@ pub fn third_party_path() -> PathRef {
root_path().join("third_party")
}
+pub fn ffi_tests_path() -> PathRef {
+ root_path().join("tests").join("ffi")
+}
+
pub fn napi_tests_path() -> PathRef {
- root_path().join("test_napi")
+ root_path().join("tests").join("napi")
+}
+
+pub fn deno_config_path() -> PathRef {
+ root_path().join("tests").join("config").join("deno.json")
}
/// Test server registry url.