Skip to content

Commit 06d3b6c

Browse files
committed
Cleanup template
1 parent c803501 commit 06d3b6c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/__tests__/auto-cleanup.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import {render} from '@testing-library/vue'
22
import '@testing-library/jest-dom'
33

4-
// This just verifies that by importing VTL in an environment which supports
4+
// This verifies that by importing VTL in an environment which supports
55
// afterEach (like jest) we'll get automatic cleanup between tests.
6-
test('render the first component', () => {
7-
render({
8-
template: `<h1>Hello World</h1>`,
9-
})
6+
test('renders the component', () => {
7+
render({template: `<h1>Hello World</h1>`})
8+
109
expect(document.body.innerHTML).toMatchInlineSnapshot(`
1110
<div>
1211
<h1>Hello World</h1>

0 commit comments

Comments
 (0)