Skip to content

Commit

Permalink
♻️ update tests to use vitest and react-testing-library
Browse files Browse the repository at this point in the history
  • Loading branch information
mihailgaberov committed Dec 31, 2023
1 parent 291d5e6 commit e019fa3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/Message/Message.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { render, screen } from '@testing-library/react';
import { describe, expect, it } from 'vitest';

import Message from './Message';
import Nickname from '../Nickname';
import Timestamp from '../Timestamp';

const setup = (type = 'received') => {
return render(<Message message={{from: 'guest0001', content: 'hi', time: '11:03', type}}/>)
Expand Down

0 comments on commit e019fa3

Please sign in to comment.