Skip to content

Commit 922e406

Browse files
committed
chore: test hooks 3
1 parent 370c63a commit 922e406

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const world = 'World!!!!'
1+
export const world = 'World!!!'
22

33
export const start = async (hello: string): Promise<void> => {
44
console.log(hello + ' ' + world)

tests/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ test('start function logs correct message', async () => {
1919
consoleSpy.mockRestore()
2020
})
2121

22-
test('world constant is "World!!!!"', () => {
23-
expect(world).toBe('World!!!!')
22+
test('world constant is "World!!!"', () => {
23+
expect(world).toBe('World!!!')
2424
})

0 commit comments

Comments
 (0)