mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 12:07:39 +08:00
increase transition test durations for suacelabs
This commit is contained in:
parent
7043fa633b
commit
98a7e75f1e
@ -19,7 +19,8 @@ var webpackConfig = {
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
NODE_ENV: '"development"'
|
||||
NODE_ENV: '"development"',
|
||||
TRANSITION_DURATION: process.env.SAUCE ? 200 : 50
|
||||
}
|
||||
})
|
||||
],
|
||||
|
@ -24,7 +24,7 @@
|
||||
"test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2",
|
||||
"lint": "eslint src build test",
|
||||
"flow": "flow check",
|
||||
"sauce": "NODE_ENV=development karma start build/karma.sauce.config.js",
|
||||
"sauce": "NODE_ENV=development SAUCE=true karma start build/karma.sauce.config.js",
|
||||
"bench:ssr": "npm run build:ssr && NODE_ENV=production VUE_ENV=server node benchmarks/ssr/renderToString.js && NODE_ENV=production VUE_ENV=server node benchmarks/ssr/renderToStream.js",
|
||||
"release": "bash build/release.sh"
|
||||
},
|
||||
|
@ -4,7 +4,7 @@ function insertCSS (text) {
|
||||
document.head.appendChild(cssEl)
|
||||
}
|
||||
|
||||
const duration = 50
|
||||
const duration = process.env.TRANSITION_DURATION || 50
|
||||
let injected = false
|
||||
|
||||
export default function injectStyles () {
|
||||
|
Loading…
Reference in New Issue
Block a user