Skip to content

Commit

Permalink
refactor: specs and index (#451)
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 Sep 22, 2024
1 parent 37d2710 commit 787996e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions specs/send-message.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { describe, expect, test as spec } from 'bun:test';

import { sendMessage } from '#index';

describe('Send Message', () => {
spec('Hello!', async () => {
return await sendMessage('Hello!').then((parameter) => {
expect(parameter).toEqual('Hello!');
describe('Send Message', async () => {
spec('should return "Hello!"', async () => {
await sendMessage('Hello!').then((string) => {
expect(string).toEqual('Hello!');
});
});
});
File renamed without changes.

0 comments on commit 787996e

Please sign in to comment.