update Jenkinsfile and test/index.js
This commit is contained in:
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@@ -37,7 +37,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
steps {
|
steps {
|
||||||
sh 'npm install'
|
|
||||||
echo "Runing Test.."
|
echo "Runing Test.."
|
||||||
sh 'npm test'
|
sh 'npm test'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -103,8 +103,8 @@ describe("📦 Amazon Book Search (English) Integration Test", () => {
|
|||||||
const timeoutDuration = 30000;
|
const timeoutDuration = 30000;
|
||||||
|
|
||||||
before(function (done) {
|
before(function (done) {
|
||||||
this.timeout(timeoutDuration + 25000);
|
this.timeout(timeoutDuration + 30000);
|
||||||
setTimeout(done, 25000);
|
setTimeout(done, 30000);
|
||||||
});
|
});
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user