Skip to content

Commit

Permalink
test: refactor getName: getName to getName
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowtime2000 committed Dec 5, 2020
1 parent 771a17a commit ba45514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/render.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('Simple Render checks', () => {
}, 20)
})
}
expect(await render(template, { getName: getName }, { async: true })).toEqual('Hello Ada!')
expect(await render(template, { getName }, { async: true })).toEqual('Hello Ada!')
})
it('Rendering async function works', async () => {
const template = 'Hello <%= await it.getName() %>!'
Expand Down

0 comments on commit ba45514

Please sign in to comment.