Dashboard test: draft version

This commit is contained in:
gianantoniopini
2021-01-06 14:42:50 +01:00
parent 854020481c
commit 35c663ebe8
4 changed files with 114 additions and 8 deletions

View File

@ -1,5 +1,5 @@
import React from 'react';
import { render, cleanup } from '@testing-library/react';
import { render } from '@testing-library/react';
import FirebaseStub from 'gatsby-plugin-firebase';
import '../../i18n/index';
@ -19,8 +19,6 @@ describe('Castform', () => {
).val();
});
afterEach(cleanup);
it('renders correctly', () => {
const { container } = render(<Castform data={resume} />);