node/test/addons-napi/test_general/testGlobals.js
Michael Dawson 7a7ac1c6db test: consolidate n-api test addons
It takes time to build each of the addons used to test n-api.
Consolidate a few of the smaller ones to save build time.

PR-URL: https://github.com/nodejs/node/pull/13317
Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2017-06-01 17:50:14 -04:00

9 lines
274 B
JavaScript

'use strict';
const common = require('../../common');
const assert = require('assert');
const test_globals = require(`./build/${common.buildType}/test_general`);
assert.strictEqual(test_globals.getUndefined(), undefined);
assert.strictEqual(test_globals.getNull(), null);