Skip to content

Commit

Permalink
spec: add await (#419)
Browse files Browse the repository at this point in the history
Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Aug 12, 2024
1 parent 05cc1ff commit c5191ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/send-message.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { sendMessage } from '#src';

describe('Send Message', () => {
spec('Hello!', async () => {
return sendMessage('Hello!').then((parameter) => {
return await sendMessage('Hello!').then((parameter) => {
expect(parameter).toEqual('Hello!');
});
});
Expand Down

0 comments on commit c5191ed

Please sign in to comment.