1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-05-03 01:51:37 +07:00
verdaccio-ui/src/components/NotFound/Notfound.test.tsx
Priscila Oliveira fdbdb6303b feat: new not found component (#170)
* refactor: updated not found component

* chore: removed react-router

* refactored: applied feedbacks

* fix: removed doc folder

* refactor: rollback yarn.lock
2019-10-12 13:23:14 +02:00

18 lines
466 B
TypeScript

import React from 'react';
import { BrowserRouter as Router } from 'react-router-dom';
import { render } from '@testing-library/react';
import NotFound from './NotFound';
describe('<NotFound /> component', () => {
test('should load the component in default state', () => {
const { container } = render(
<Router>
<NotFound />
</Router>
);
expect(container.firstChild).toMatchSnapshot();
});
test.todo('Test Button Click');
});