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

path.js « fixtures « test - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b6323ff059f9634324aaf5f5a447324e3e2199f2 (plain)
1
2
3
4
5
6
7
8
// 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';
};