mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-02 10:42:44 +00:00
Remove commented out delay
This commit is contained in:
@@ -4,10 +4,6 @@ const supertest = require('supertest');
|
|||||||
const app = supertest.agent(require('app.js').app)
|
const app = supertest.agent(require('app.js').app)
|
||||||
.set('X-Forwarded-Proto', 'https');
|
.set('X-Forwarded-Proto', 'https');
|
||||||
|
|
||||||
// const timeout = 10000; //ms
|
|
||||||
// const start = Date.now();
|
|
||||||
// while (Date.now() < start + timeout){};
|
|
||||||
|
|
||||||
describe('Tests for static pages', ()=>{
|
describe('Tests for static pages', ()=>{
|
||||||
it('Home page works', ()=>{
|
it('Home page works', ()=>{
|
||||||
return app.get('/').expect(200);
|
return app.get('/').expect(200);
|
||||||
|
|||||||
Reference in New Issue
Block a user