chore: remove jest -> cypress for unit tests
This commit is contained in:
@ -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()
|
||||
})
|
||||
})
|
@ -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',
|
||||
|
Reference in New Issue
Block a user