mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-24 07:46:50 +00:00
Remove 10s delay for diagnostics
This commit is contained in:
1 parent
aa7b3d985f
commit
f246c96b28
1 file changed
+3
-3
@@ -4,9 +4,9 @@ const supertest = require('supertest');
|
||||
const app = supertest.agent(require('app.js').app)
|
||||
.set('X-Forwarded-Proto', 'https');
|
||||
|
||||
const timeout = 10000; //ms
|
||||
const start = Date.now();
|
||||
while (Date.now() < start + timeout){};
|
||||
// const timeout = 10000; //ms
|
||||
// const start = Date.now();
|
||||
// while (Date.now() < start + timeout){};
|
||||
|
||||
describe('Tests for static pages', ()=>{
|
||||
it('Home page works', ()=>{
|
||||
|
||||
Reference in new issue
Block a user