Skip to content

Commit 9debf2a

Browse files
committed
Added compiled test bundle, as compilation fails on ci
1 parent 556c2fb commit 9debf2a

File tree

6 files changed

+581
-9
lines changed

6 files changed

+581
-9
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ language: node_js
22
node_js:
33
- "6.1"
44
script:
5-
- ./node_modules/testem/testem.js ci --launch PhantomJS
5+
- ./node_modules/testem/testem.js ci

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,6 @@ This packacge uses the ´´´testem``` framework and ```jasmine``` assertion lib
8585
npm install
8686

8787
# Then you may run the tests from
88-
npm run test
88+
npm run test-dev
8989

9090
```

dev.testem.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"framework": "jasmine",
3+
"src_files": [
4+
"src/vue-cookie.js",
5+
"test/spec/vue-cookie-spec.js"
6+
],
7+
"serve_files": [
8+
"test/bundle.js"
9+
],
10+
"before_tests" : "gulp --gulpfile test.gulpfile.js",
11+
"launch_in_dev" : ["Chrome"]
12+
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"license": "MIT",
99
"scripts": {
1010
"test": "./node_modules/testem/testem.js ci",
11-
"build": "gulp --production"
11+
"test-dev": "./node_modules/testem/testem.js -f dev.testem.json",
12+
"build": "gulp --production",
13+
"build-test": "gulp --gulpfile test.gulpfile.js"
1214
},
1315
"repository": {
1416
"type": "git",

test/bundle.js

Lines changed: 564 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

testem.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
{
22
"framework": "jasmine",
3-
"src_files": [
4-
"src/vue-cookie.js",
5-
"test/spec/vue-cookie-spec.js"
6-
],
73
"serve_files": [
84
"test/bundle.js"
95
],
10-
"before_tests" : "gulp --gulpfile test.gulpfile.js",
11-
"after_tests" : "rm test/bundle.js",
126
"launch_in_dev" : ["Chrome"]
137
}

0 commit comments

Comments
 (0)