Skip to content

Commit

Permalink
chore: remove unused test code
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh95 committed May 26, 2022
1 parent 1f90ee0 commit e5002e3
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions examples/vue-testing-library/src/App.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@ import App from './App.vue';
import preview from 'jest-preview';

test('increments value on click', async () => {
// The render method returns a collection of utilities to query your component.
const { getByText } = render(App);
render(App);
preview.debug();
// // getByText returns the first matching node for the provided text, and
// // throws an error if no elements match or if more than one match is found.
// getByText('Times clicked: 0')

// const button = getByText('increment')

// // Dispatch a native click event to our button element.
// await fireEvent.click(button)
// await fireEvent.click(button)

// getByText('Times clicked: 2')
});

0 comments on commit e5002e3

Please sign in to comment.