buddy

node MVC discord bot
Log | Files | Refs | README

core.js (284B)


      1 var test = require('tape');
      2 var resolve = require('../');
      3 
      4 test('core modules', function (t) {
      5     t.ok(resolve.isCore('fs'));
      6     t.ok(resolve.isCore('net'));
      7     t.ok(resolve.isCore('http'));
      8     
      9     t.ok(!resolve.isCore('seq'));
     10     t.ok(!resolve.isCore('../'));
     11     t.end();
     12 });