mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
PR-URL: https://github.com/nodejs/node/pull/15343 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
9 lines
296 B
JavaScript
9 lines
296 B
JavaScript
'use strict';
|
|
const common = require('../../common');
|
|
const assert = require('assert');
|
|
|
|
// Testing api calls for a constructor that defines properties
|
|
const TestConstructor =
|
|
require(`./build/${common.buildType}/test_constructor_name`);
|
|
assert.strictEqual(TestConstructor.name, 'MyObject');
|