deno.land / x / simplestatistic@v7.7.1 / scripts / make_test.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict';
var fs = require('fs'), path = require('path');
// Browserify needs a single entry point. This doesn't mix// well with our testing approach that runs tests as individual// files. Thus we use this script to create a single file with// require() statements pointing at each test.fs.writeFileSync(path.resolve(__dirname, 'required_test.js'), fs.readdirSync(path.resolve(__dirname, '../test')) .map(function(testFile) { return 'require("../test/' + testFile + '");'; }) .join('\n'));
simplestatistic

Version Info

Tagged at
2 years ago