https://github.com/plotly/plotly.js
Raw File
Tip revision: f2d625c1de4b2938e2dada787f6c8fbe4904f55b authored by Étienne Tétreault-Pinard on 13 October 2016, 14:29:47 UTC
1.18.0
Tip revision: f2d625c
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