-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.js
More file actions
22 lines (18 loc) · 648 Bytes
/
test.js
File metadata and controls
22 lines (18 loc) · 648 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*!
* stack-utils-node-internals <https://github.com/tunnckoCore/stack-utils-node-internals>
*
* Copyright (c) Charlike Mike Reagent <@tunnckoCore> (https://i.am.charlike.online)
* Released under the MIT license.
*/
/* jshint asi:true */
'use strict'
var test = require('mukla')
var nodeInternals = require('./index')
test('stack-utils-node-internals', function (done) {
var internals = nodeInternals()
test.strictEqual(Array.isArray(internals), true)
test.strictEqual(internals.length > 10, true)
test.strictEqual(Array.isArray(nodeInternals.natives), true)
test.strictEqual(nodeInternals.natives.length > 10, true)
done()
})