Skip to content

Commit 82b9a1f

Browse files
author
Berry Langerak
committed
Fixing tests.
1 parent 727a71f commit 82b9a1f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app.e2e.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import request from 'supertest';
55
const baseURL = process.env.TEST_BASE_URL || 'http://localhost:3000';
66

77
describe('API Tests', () => {
8-
it('should return Hello World from GET /', async () => {
8+
it('should return Hello Den Bosch from GET /', async () => {
99
const res = await request(baseURL).get('/');
1010
expect(res.statusCode).toBe(200);
11-
expect(res.text).toBe('Hello world!');
11+
expect(res.text).toBe('Hello Den Bosch!');
1212
});
1313

1414
it('should respond within reasonable time', async () => {
@@ -26,7 +26,7 @@ describe('API Tests', () => {
2626

2727
responses.forEach(res => {
2828
expect(res.statusCode).toBe(200);
29-
expect(res.text).toBe('Hello world!');
29+
expect(res.text).toBe('Hello Den Bosch!');
3030
});
3131
});
3232
});

0 commit comments

Comments
 (0)