https://github.com/plotly/plotly.js
Raw File
Tip revision: 20a47fd6e904e52e92dc1c60b0d9d23db7a5070b authored by Étienne Tétreault-Pinard on 07 March 2017, 15:10:46 UTC
1.24.1
Tip revision: 20a47fd
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