chore: update jasmine dependencies & settings (#24)
diff --git a/package.json b/package.json
index 68075bf..795099a 100644
--- a/package.json
+++ b/package.json
@@ -4,9 +4,9 @@
"description": "Apache Cordova server support for cordova-lib and cordova-browser.",
"main": "src/main.js",
"scripts": {
- "jasmine": "jasmine JASMINE_CONFIG_PATH=spec/jasmine.json",
"lint": "eslint .",
- "test": "npm run lint && npm run jasmine"
+ "test": "npm run lint && npm run test:unit",
+ "test:unit": "jasmine \"spec/**/*.spec.js\""
},
"repository": {
"type": "git",
@@ -32,7 +32,7 @@
},
"devDependencies": {
"@cordova/eslint-config": "^2.0.0",
- "jasmine": "^3.3.0",
+ "jasmine": "^3.5.0",
"rewire": "^4.0.1"
},
"engines": {
diff --git a/spec/jasmine.json b/spec/jasmine.json
deleted file mode 100644
index a5605d2..0000000
--- a/spec/jasmine.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "spec_dir": "spec",
- "spec_files": [
- "**/*[sS]pec.js"
- ],
- "stopSpecOnExpectationFailure": false,
- "random": false
-}
\ No newline at end of file
diff --git a/spec/support/jasmine.json b/spec/support/jasmine.json
new file mode 100644
index 0000000..9090f25
--- /dev/null
+++ b/spec/support/jasmine.json
@@ -0,0 +1,4 @@
+{
+ "spec_dir": "spec",
+ "random": false
+}