Sha256: ab8b3ae592b6dfbdea03e31fb5f8af543e9a6308c9b45762ffbe928829e4b718

Contents?: true

Size: 218 Bytes

Versions: 18

Compression:

Stored size: 218 Bytes

Contents

var test = require('tap').test;
var detective = require('../');
var fs = require('fs');
var src = [ 'require("a")\nreturn' ];

test('return', function (t) {
    t.plan(1);
    t.deepEqual(detective(src), [ 'a' ]);
});

Version data entries

18 entries across 18 versions & 7 rubygems

Version Path
boring_generators-0.5.0 tmp/templates/app_template/node_modules/detective/test/return.js
boring_generators-0.4.0 tmp/templates/app_template/node_modules/detective/test/return.js
ilog-0.4.1 node_modules/detective/test/return.js
ilog-0.4.0 node_modules/detective/test/return.js
ilog-0.3.3 node_modules/detective/test/return.js
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/detective/test/return.js
minimum_viable_product-0.0.11 test/dummy/node_modules/detective/test/return.js
brwy_rails-0.0.6 test/dummy/node_modules/detective/test/return.js
brwy_rails-0.0.5 test/dummy/node_modules/detective/test/return.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/detective/test/return.js
brwy_rails-0.0.4 test/dummy/node_modules/detective/test/return.js
brwy_rails-0.0.3 test/dummy/node_modules/detective/test/return.js
brwy_rails-0.0.2 test/dummy/node_modules/detective/test/return.js
brwy_rails-0.0.1 test/dummy/node_modules/detective/test/return.js
sprockets-browserify-0.3.0 node_modules/browserify/node_modules/module-deps/node_modules/detective/test/return.js
sprockets-browserify-0.2.0 node_modules/browserify/node_modules/module-deps/node_modules/detective/test/return.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/return.js
ruby-wisp-source-0.7.0 vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/return.js