Sha256: 149654d7d6a97e15555805ec6cac8e6d994abe36224922e1fc5f53ff0323e205
Contents?: true
Size: 695 Bytes
Versions: 3
Compression:
Stored size: 695 Bytes
Contents
// test loading core modules var assert = require('assert'); var resolve = require('../'); test('events', function(done) { resolve('events', {}, function(err, path) { assert.ifError(err); assert.equal(path, require.resolve('../builtin/events')); done(); }); }); test('http', function(done) { resolve('http', {}, function(err, path) { assert.ifError(err); assert.equal(path, require.resolve('http-browserify')); done(); }); }); test('dgram', function(done) { resolve('dgram', {}, function(err, path) { assert.ifError(err); assert.equal(path, require.resolve('../builtin/dgram')); done(); }); });
Version data entries
3 entries across 3 versions & 2 rubygems