Skip to content

Commit

Permalink
fix: Tiny adjustments on component templates
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasOmar committed Nov 10, 2023
1 parent 67a1232 commit bacb670
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion _templates/component/new/stories.ejs.t
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ export default {
const Template: StoryFn<typeof <%= name %>> = args => <<%= name %> {...args} />

export const BasicExample = Template.bind({})
BasicExample.storyName = 'Basic Example'
1 change: 1 addition & 0 deletions _templates/component/new/tests.ejs.t
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ describe('<%= name %>', () => {
test('Should render the component', () => {
render(<<%= name %> />)
const test<%= name %> = screen.getByTestId(basicTestId)

expect(test<%= name %>).toBeInTheDocument()
})

Expand Down

0 comments on commit bacb670

Please sign in to comment.