Sha256: 507afab9553d9b2a232d4e30a1cf31d7d1c037ec698cb0c9cb00e8e9b97c60a0

Contents?: true

Size: 288 Bytes

Versions: 27

Compression:

Stored size: 288 Bytes

Contents

var test = require('tap').test;
var resolve = require('../');

test('core modules', function (t) {
    t.ok(resolve.isCore('fs'));
    t.ok(resolve.isCore('net'));
    t.ok(resolve.isCore('http'));
    
    t.ok(!resolve.isCore('seq'));
    t.ok(!resolve.isCore('../'));
    t.end();
});

Version data entries

27 entries across 17 versions & 6 rubygems

Version Path
entangled-0.0.16 spec/dummy/public/node_modules/grunt-cli/node_modules/resolve/test/core.js
entangled-0.0.15 spec/dummy/public/node_modules/grunt-cli/node_modules/resolve/test/core.js
entangled-0.0.14 spec/dummy/public/node_modules/grunt-cli/node_modules/resolve/test/core.js
entangled-0.0.13 spec/dummy/public/node_modules/grunt-cli/node_modules/resolve/test/core.js
entangled-0.0.12 spec/dummy/public/node_modules/grunt-cli/node_modules/resolve/test/core.js
entangled-0.0.11 spec/dummy/public/node_modules/grunt-cli/node_modules/resolve/test/core.js
entangled-0.0.10 spec/dummy/public/node_modules/grunt-cli/node_modules/resolve/test/core.js
trans-0.5.10 template/node_modules/gulp/node_modules/liftoff/node_modules/resolve/test/core.js
trans-0.5.9 template/node_modules/gulp/node_modules/liftoff/node_modules/resolve/test/core.js
snowball-0.1.22 node_modules/browserify/node_modules/resolve/test/core.js
sprockets-browserify-0.3.0 node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/core.js
sprockets-browserify-0.3.0 node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/core.js
sprockets-browserify-0.3.0 node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/core.js
cssesc-source-0.1.0 vendor/node_modules/istanbul/node_modules/resolve/test/core.js
sprockets-browserify-0.2.0 node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/core.js
sprockets-browserify-0.2.0 node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/core.js
sprockets-browserify-0.2.0 node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/core.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/core.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/core.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/core.js