Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
MinHtet-O committed Feb 5, 2024
1 parent ee2634b commit 4a4d13b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/greet/greet.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import { greet } from '.'
describe('Greet', () => {
const testPerson = { name: 'john' }
it('should return the greet string for person', () => {
expect(greet(testPerson)).equal('hello john')
expect(greet(testPerson)).equal('hello john!')
})
})
2 changes: 1 addition & 1 deletion src/greet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export type Person = {
}

export const greet = (person: Person) => {
return `hello ${person.name}`
return `hello ${person.name}!`
}

1 comment on commit 4a4d13b

@Mapuppy09
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please tried to help me in resolved to run or given alternative to I resolved these

Please sign in to comment.