mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-19 02:59:57 +00:00
10 lines
314 B
JavaScript
10 lines
314 B
JavaScript
import React from 'react';
|
||
import { render } from '@testing-library/react';
|
||
import RoomLocked from '.';
|
||
import { test, expect } from 'vitest';
|
||
|
||
test('RoomLocked component should display', () => {
|
||
const { asFragment } = render(<RoomLocked modalContent={'test'} />);
|
||
expect(asFragment()).toMatchSnapshot();
|
||
});
|