Sha256: 72bb6619e69cbc9e0514fb2cf23394431ab51b9b21dbcb1ebd0e2219caedf6f1

Contents?: true

Size: 249 Bytes

Versions: 23

Compression:

Stored size: 249 Bytes

Contents

var test = require('tap').test;
var detective = require('../');
var fs = require('fs');
var src = fs.readFileSync(__dirname + '/files/chained.js');

test('chained', function (t) {
    t.deepEqual(detective(src), [ 'c', 'b', 'a' ]);
    t.end();
});

Version data entries

23 entries across 21 versions & 8 rubygems

Version Path
sprockets-browserify-0.1.2 node_modules/browserify/node_modules/detective/test/chained.js
sprockets-browserify-0.1.0 node_modules/module-deps/node_modules/detective/test/chained.js
sprockets-browserify-0.1.0 node_modules/browserify/node_modules/detective/test/chained.js