From c5191edb9d1e8107e9f46550d261e694e563d6fd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 22:47:29 +0300 Subject: [PATCH] spec: add await (#419) Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com> --- specs/send-message.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/send-message.spec.ts b/specs/send-message.spec.ts index a52c4de..5a88e0d 100644 --- a/specs/send-message.spec.ts +++ b/specs/send-message.spec.ts @@ -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!'); }); });