• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2require('../../common');
3const path = require('path');
4const assert = require('assert');
5
6// This is a subtest of symlinked-module/test.js. This is not
7// intended to be run directly.
8
9module.exports.test = function test(bindingDir) {
10  const mod = require(path.join(bindingDir, 'binding.node'));
11  assert.notStrictEqual(mod, null);
12  assert.strictEqual(mod.hello(), 'world');
13};
14