fix(tests): Speeding up e2e tests

This commit is contained in:
Chris Troutner
2022-07-06 20:56:01 -07:00
parent 5c4dc21d3e
commit d3df9546a7
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -104,7 +104,9 @@ class Server {
// MIDDLEWARE END
// Delay startup to give the P2WDB time to start first, so that it accepts the webook call
await this.sleep(20000)
if (this.config.env !== 'test') {
await this.sleep(20000)
}
// Create webhook
try {