Skip to content

Commit 1c5495d

Browse files
committed
build: fix ci test timeout
1 parent 75fe3ce commit 1c5495d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
},
5353
"scripts": {
5454
"test": "npm install --no-save leancloud-storage@3 typescript@2 && npm-run-all test-tsd test-express test-koa1 test-koa2",
55-
"test-express": "mocha test test/express",
55+
"test-express": "mocha test --timeout 8000 test/express",
5656
"test-tsd": "tsc --strict leanengine.d.ts",
57-
"test-koa1": "npm install --no-save leancloud-storage@3 koa@1 koa-bodyparser@2 && env FRAMEWORK=koa KOA_VER=1 mocha test test/koa",
58-
"test-koa2": "npm install --no-save leancloud-storage@3 koa@2 koa-bodyparser@4 && env FRAMEWORK=koa KOA_VER=2 mocha test test/koa"
57+
"test-koa1": "npm install --no-save leancloud-storage@3 koa@1 koa-bodyparser@2 && env FRAMEWORK=koa KOA_VER=1 mocha test --timeout 8000 test/koa",
58+
"test-koa2": "npm install --no-save leancloud-storage@3 koa@2 koa-bodyparser@4 && env FRAMEWORK=koa KOA_VER=2 mocha test --timeout 8000 test/koa"
5959
}
6060
}

0 commit comments

Comments
 (0)