mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-07 12:23:00 +08:00
16 lines
373 B
TypeScript
16 lines
373 B
TypeScript
import React from 'react';
|
|
import { render } from '@testing-library/react';
|
|
import { Provider } from 'react-redux';
|
|
import { store } from './app/store';
|
|
import App from './App';
|
|
|
|
test('renders learn react link', () => {
|
|
const { getByText } = render(
|
|
<Provider store={store}>
|
|
<App />
|
|
</Provider>,
|
|
);
|
|
|
|
expect(getByText(/learn/i)).toBeInTheDocument();
|
|
});
|