Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80551 views
1
var test = require('tap').test;
2
var detective = require('../');
3
var fs = require('fs');
4
var src = fs.readFileSync(__dirname + '/files/sparse-array.js');
5
6
test('sparse-array', function (t) {
7
//just check that this does not crash.
8
t.doesNotThrow(function () {
9
detective(src)
10
})
11
t.end();
12
});
13
14
15
16