summaryrefslogtreecommitdiff
path: root/test/parallel/test-util-types.js
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2018-03-13 15:08:31 +0100
committerMyles Borins <mylesborins@google.com>2018-06-01 09:59:37 +0200
commit3d2aebbc999555dac6a91fd9ab5a7ae6e93f4fca (patch)
treedf8fba4119db47310bc83e8d0241f941a7b66ee9 /test/parallel/test-util-types.js
parenta60ab57c3cf35bf29dfec2837cf072085f13783b (diff)
downloadandroid-node-v8-3d2aebbc999555dac6a91fd9ab5a7ae6e93f4fca.tar.gz
android-node-v8-3d2aebbc999555dac6a91fd9ab5a7ae6e93f4fca.tar.bz2
android-node-v8-3d2aebbc999555dac6a91fd9ab5a7ae6e93f4fca.zip
util: add type check function for BigIntObject
PR-URL: https://github.com/nodejs/node/pull/19989 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'test/parallel/test-util-types.js')
-rw-r--r--test/parallel/test-util-types.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parallel/test-util-types.js b/test/parallel/test-util-types.js
index 24f613cc0b..de5a89ab4a 100644
--- a/test/parallel/test-util-types.js
+++ b/test/parallel/test-util-types.js
@@ -20,6 +20,7 @@ for (const [ value, _method ] of [
[ new Number(), 'isNumberObject' ],
[ new String(), 'isStringObject' ],
[ Object(Symbol()), 'isSymbolObject' ],
+ [ Object(BigInt(0)), 'isBigIntObject' ],
[ new Error(), 'isNativeError' ],
[ new RegExp() ],
[ async function() {}, 'isAsyncFunction' ],