Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84bf21a

Browse files
committed
🔪 citest
- use npm run test-jasmine arguments instead!
1 parent 5cb3c2d commit 84bf21a

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"docker": "node tasks/docker.js",
3434
"pretest": "node tasks/pretest.js",
3535
"test-jasmine": "karma start test/jasmine/karma.conf.js",
36-
"citest-jasmine": "CIRCLECI=1 karma start test/jasmine/karma.conf.js",
3736
"test-image": "node tasks/test_image.js",
3837
"test-image-gl2d": "node tasks/test_image.js gl2d_* --queue",
3938
"test-export": "node tasks/test_export.js",

tasks/noci_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ EXIT_STATE=0
55
# tests that aren't run on CI
66

77
# jasmine specs with @noCI tag
8-
npm run citest-jasmine -- tests/*_test.js --tags noCI || EXIT_STATE=$?
8+
npm run test-jasmine -- --tags=noCI || EXIT_STATE=$?
99

1010
# mapbox image tests take too much resources on CI
1111
npm run test-image -- mapbox_* || EXIT_STATE=$?

tasks/test_bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var pathToJasmineBundleTests = path.join(constants.pathToJasmineBundleTests);
99
glob(pathToJasmineBundleTests + '/*.js', function(err, files) {
1010
files.forEach(function(file) {
1111
var baseName = path.basename(file);
12-
var cmd = 'npm run citest-jasmine -- bundle_tests/' + baseName;
12+
var cmd = 'npm run test-jasmine -- --bundleTest=' + baseName;
1313

1414
common.execCmd(cmd);
1515
});

0 commit comments

Comments
 (0)