chore: remove jest -> cypress for unit tests

This commit is contained in:
Divlo
2022-08-23 21:51:20 +02:00
parent d8cedd7b77
commit 7ad3d226dc
87 changed files with 2668 additions and 7876 deletions

View File

@ -1,10 +0,0 @@
import { render } from '@testing-library/react'
import { {{ properCase name }} } from './{{ properCase name }}'
describe('<{{ properCase name }} />', () => {
it('should render', () => {
const { baseElement } = render(<{{ properCase name }} />)
expect(baseElement).toBeTruthy()
})
})

View File

@ -17,16 +17,6 @@ exports.componentGenerator = () => {
}
],
actions: [
{
type: 'add',
path: 'components/{{folder}}/{{properCase name}}/{{properCase name}}.stories.tsx',
templateFile: 'generators/component/Component.stories.tsx.hbs'
},
{
type: 'add',
path: 'components/{{folder}}/{{properCase name}}/{{properCase name}}.test.tsx',
templateFile: 'generators/component/Component.test.tsx.hbs'
},
{
type: 'add',
path: 'components/{{folder}}/{{properCase name}}/{{properCase name}}.tsx',