summaryrefslogtreecommitdiff
path: root/test/js-native-api
diff options
context:
space:
mode:
authorGabriel Schulhof <gabrielschulhof@gmail.com>2021-03-07 08:52:09 -0800
committerMichael Dawson <mdawson@devrus.com>2021-03-10 16:31:16 -0500
commitd15475578abfcc7e0a420719b8d55a6b3ab4f198 (patch)
tree13e945c2b77dfc035afd79f0802f717cc0a41130 /test/js-native-api
parent117e293c376d54665e3c7d7b5b2ed15ef530ada1 (diff)
downloadnode-new-d15475578abfcc7e0a420719b8d55a6b3ab4f198.tar.gz
node-api: define version 8
Mark as stable the APIs that define Node-API version 8. PR-URL: https://github.com/nodejs/node/pull/37652 Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Diffstat (limited to 'test/js-native-api')
-rw-r--r--test/js-native-api/test_general/test.js2
-rw-r--r--test/js-native-api/test_object/test_object.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/test/js-native-api/test_general/test.js b/test/js-native-api/test_general/test.js
index 4dbdc37c91..76527bc81c 100644
--- a/test/js-native-api/test_general/test.js
+++ b/test/js-native-api/test_general/test.js
@@ -33,7 +33,7 @@ assert.notStrictEqual(test_general.testGetPrototype(baseObject),
test_general.testGetPrototype(extendedObject));
// Test version management functions
-assert.strictEqual(test_general.testGetVersion(), 7);
+assert.strictEqual(test_general.testGetVersion(), 8);
[
123,
diff --git a/test/js-native-api/test_object/test_object.c b/test/js-native-api/test_object/test_object.c
index 5661b52063..d897e8d0d0 100644
--- a/test/js-native-api/test_object/test_object.c
+++ b/test/js-native-api/test_object/test_object.c
@@ -1,4 +1,3 @@
-#define NAPI_EXPERIMENTAL
#include <js_native_api.h>
#include "../common.h"
#include <string.h>