Skip to content

Commit 59669db

Browse files
authored
Merge pull request #57 from testing-library/afontcu-patch-1
Simplify demo
2 parents 0553e74 + dcf230c commit 59669db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You may also be interested in installing `jest-dom` so you can use
4444
## Examples
4545

4646
```html
47-
<!-- src/TestComponent.vue -->
47+
<!-- TestComponent.vue -->
4848
<template>
4949
<div>
5050
<p>Times clicked: {{ count }}</p>
@@ -67,9 +67,9 @@ export default {
6767
```
6868

6969
```js
70-
// src/TestComponent.spec.js
70+
// TestComponent.spec.js
7171
import { render, fireEvent, cleanup } from '@testing-library/vue'
72-
import TestComponent from './components/TestComponent.vue'
72+
import TestComponent from './TestComponent.vue'
7373

7474
// automatically unmount and cleanup DOM after the test is finished.
7575
afterEach(cleanup)

0 commit comments

Comments
 (0)