You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
309 B

'use strict';
require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');
assert.throws(function() {
require('internal/freelist');
}, /^Error: Cannot find module 'internal\/freelist'$/);
assert.strictEqual(
require(fixtures.path('internal-modules')),
42
);