Skip to content

Commit 2b3d74f

Browse files
author
Berry Langerak
committed
Back to Hello World.
1 parent 82b9a1f commit 2b3d74f

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ node_modules/
22
npm-debug.log*
33
yarn-debug.log*
44
yarn-error.log*
5-
coverage/
5+
coverage
66
.nyc_output/
77
.env
88
.env.local

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 Den Bosch from GET /', async () => {
8+
it('should return Hello World from GET /', async () => {
99
const res = await request(baseURL).get('/');
1010
expect(res.statusCode).toBe(200);
11-
expect(res.text).toBe('Hello Den Bosch!');
11+
expect(res.text).toBe('Hello World!');
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 Den Bosch!');
29+
expect(res.text).toBe('Hello World!');
3030
});
3131
});
3232
});

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const app = express();
44
const PORT = process.env.PORT || 3000;
55

66
app.get('/', (req, res) => {
7-
res.send('Hello Den Bosch!');
7+
res.send('Hello World!');
88
});
99

1010
app.listen(PORT, () => {

0 commit comments

Comments
 (0)