Skip to content

Commit 7923e59

Browse files
committed
move mathjax firefox test to noci test
1 parent e6e7caa commit 7923e59

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

tasks/noci_test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ root=$(dirname $0)/..
1818

1919
# jasmine specs with @noCI tag
2020
test_jasmine () {
21+
# run MathJax on FireFox
22+
./node_modules/karma/bin/karma start test/jasmine/karma.conf.js --FF --bundleTest=mathjax --nowatch && \
23+
# run noCI tests
2124
npm run test-jasmine -- --tags=noCI,noCIdep --nowatch || EXIT_STATE=$?
2225
}
2326

tasks/test_bundle.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,6 @@ 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-
5134
runSeries(tasks, function(err, results) {
5235
if(err) throw err;
5336

0 commit comments

Comments
 (0)