Skip to content

Commit b1177a6

Browse files
committed
test-bundle: run mathjax test for Firefox
1 parent fe842c4 commit b1177a6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tasks/test_bundle.js

+17
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,23 @@ glob(pathToJasmineBundleTests + '/*.js', function(err, files) {
3131
};
3232
});
3333

34+
var mathjaxTestFirefox = function(cb) {
35+
var cmd = [
36+
'karma', 'start',
37+
path.join(constants.pathToRoot, 'test', 'jasmine', 'karma.conf.js'),
38+
'--FF',
39+
'--bundleTest=mathjax',
40+
'--nowatch'
41+
].join(' ');
42+
43+
console.log('Running: ' + cmd);
44+
45+
exec(cmd, function(err) {
46+
cb(null, err);
47+
}).stdout.pipe(process.stdout);
48+
};
49+
tasks.push(mathjaxTestFirefox);
50+
3451
runSeries(tasks, function(err, results) {
3552
if(err) throw err;
3653

0 commit comments

Comments
 (0)