mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
test: avoid copying test source files
Converting the helper functions to be inlined and making the helper file header only. PR-URL: https://github.com/nodejs/node/pull/49515 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
This commit is contained in:
1 parent
ae115d68e0
commit
178dff255f
65 files changed
+155
-147
No files matched your search
@@ -3,7 +3,6 @@
|
||||
{
|
||||
"target_name": "test_array",
|
||||
"sources": [
|
||||
"../entry_point.c",
|
||||
"test_array.c"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include <js_native_api.h>
|
||||
#include <string.h>
|
||||
#include "../common.h"
|
||||
#include "../entry_point.h"
|
||||
|
||||
static napi_value TestGetElement(napi_env env, napi_callback_info info) {
|
||||
size_t argc = 2;
|
||||
|
||||
Reference in new issue
Block a user