Skip to content

Commit 72ca68a

Browse files
committed
SWB-001: Changing message
1 parent 4e747c9 commit 72ca68a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

my-express-app/index.js

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

55
// Define a route
66
app.get('/', (req, res) => {
7-
res.send('Hello ITJers and super Happy Friday!');
7+
res.send('Hello ITJers and Happy Friday!');
88
});
99

1010
// Start the server

my-express-app/tests/app.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ const request = require('supertest');
22
const app = require('../index');
33

44
describe('GET /', () => {
5-
test('It should respond with: Hello ITJers and super Happy Friday!', async () => {
5+
test('It should respond with: Hello ITJers and Happy Friday!', async () => {
66
const response = await request(app).get('/');
77
expect(response.status).toBe(200);
8-
expect(response.text).toBe('Hello ITJers and super Happy Friday!');
8+
expect(response.text).toBe('Hello ITJers and Happy Friday!');
99
});
1010
});

0 commit comments

Comments
 (0)