node/test/fixtures/path.js
cjihrig dd9aefde69
test: use const for all require() calls
PR-URL: https://github.com/nodejs/node/pull/10550
Reviewed-By: Rich Trott <rtrott@gmail.com>
2017-01-30 12:08:31 -05:00

8 lines
368 B
JavaScript

// This is actually more a fixture than a test. It is used to make
const common = require('../common');
// sure that require('./path') and require('path') do different things.
// It has to be in the same directory as the test 'test-module-loading.js'
// and it has to have the same name as an internal module.
exports.path_func = function() {
return 'path_func';
};