https://github.com/plotly/plotly.js
Raw File
Tip revision: 4b7aa2be1ea3a7ddf3c52cecf364b84388f8c6bc authored by Étienne Tétreault-Pinard on 10 March 2017, 16:47:03 UTC
1.24.2
Tip revision: 4b7aa2b
test_bundle.js
var path = require('path');
var glob = require('glob');

var constants = require('./util/constants');
var common = require('./util/common');
var pathToJasmineBundleTests = path.join(constants.pathToJasmineBundleTests);


glob(pathToJasmineBundleTests + '/*.js', function(err, files) {
    files.forEach(function(file) {
        var baseName = path.basename(file);
        var cmd = 'npm run citest-jasmine -- bundle_tests/' + baseName;

        common.execCmd(cmd);
    });
});
back to top