Skip to content

Commit 835750e

Browse files
committed
include unit test in npm test
1 parent cef85ce commit 835750e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/transitions/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<link rel="stylesheet" href="/global.css">
33
<style>
44
.fade-enter-active, .fade-leave-active {
5-
transition: opacity 1s ease;
5+
transition: opacity .5s ease;
66
}
77
.fade-enter, .fade-leave-active {
88
opacity: 0
99
}
1010
.child-view {
1111
position: absolute;
12-
transition: all 1s cubic-bezier(.55,0,.1,1);
12+
transition: all .5s cubic-bezier(.55,0,.1,1);
1313
}
1414
.slide-left-enter, .slide-right-leave-active {
1515
opacity: 0;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dev:dist": "rollup -wcm",
2121
"build": "rollup -c && uglifyjs dist/vue-router.js -c -m -o dist/vue-router.min.js",
2222
"lint": "eslint src examples",
23-
"test": "npm run lint && flow check && npm run test:e2e",
23+
"test": "npm run lint && flow check && npm run test:unit && npm run test:e2e",
2424
"test:unit": "jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
2525
"test:e2e": "node test/e2e/runner.js"
2626
},

0 commit comments

Comments
 (0)