Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test.js « 1_hello_world « addons-napi « test - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c975c48a733f5c1887d0b697222dac12ac09f8a9 (plain)
1
2
3
4
5
6
'use strict';
const common = require('../../common');
const assert = require('assert');
const addon = require(`./build/${common.buildType}/binding`);

assert.strictEqual(addon.hello(), 'world');