Add optional name + docs (#25)

* Add optional name

* docs: add README.md with project documentation
This commit is contained in:
Rock
2025-12-02 14:09:31 +01:00
committed by GitHub
parent ca292d17f3
commit b4d021a548
7 changed files with 122 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
const { getGreeting } = require('../../src/greeting');
const { getGreeting } = require("../../src/greeting");
describe('getGreeting', () => {
it('returns the hello world message', () => {
expect(getGreeting()).toBe('Hello world');
describe("getGreeting", () => {
it("returns the hello world message", () => {
expect(getGreeting()).toBe("Hello world!");
});
});