Skip to content

Commit

Permalink
テストを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-20 committed Jan 2, 2025
1 parent ce7cd76 commit 9fc7a0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 163 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { formatMessage } from './messageFormatter';
describe('formatMessage', () => {
test('"x<number> " が含まれてなければそのまま', () => {
const message = 'This is a normal message';
expect(formatMessage(message)).toBe(message);
expect(formatMessage(message)).toEqual([message]);
});

test('"x<number> " が含まれていれば分割', () => {
Expand Down

0 comments on commit 9fc7a0e

Please sign in to comment.