feat: add simple Express app with /hello endpoint and tests
This commit is contained in:
7
tests/unit/greeting.test.js
Normal file
7
tests/unit/greeting.test.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const { getGreeting } = require('../../src/greeting');
|
||||
|
||||
describe('getGreeting', () => {
|
||||
it('returns the hello world message', () => {
|
||||
expect(getGreeting()).toBe('Hello world');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user