fd22b0bf58
V2 (Laravel re-make)
15 lines
313 B
JavaScript
Vendored
15 lines
313 B
JavaScript
Vendored
var test = require('tap').test;
|
|
var detective = require('../');
|
|
var fs = require('fs');
|
|
var src = fs.readFileSync(__dirname + '/files/sparse-array.js');
|
|
|
|
test('sparse-array', function (t) {
|
|
//just check that this does not crash.
|
|
t.doesNotThrow(function () {
|
|
detective(src)
|
|
})
|
|
t.end();
|
|
});
|
|
|
|
|