We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c803501 commit 06d3b6cCopy full SHA for 06d3b6c
src/__tests__/auto-cleanup.js
@@ -1,12 +1,11 @@
1
import {render} from '@testing-library/vue'
2
import '@testing-library/jest-dom'
3
4
-// This just verifies that by importing VTL in an environment which supports
+// This verifies that by importing VTL in an environment which supports
5
// 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
- })
+test('renders the component', () => {
+ render({template: `<h1>Hello World</h1>`})
+
10
expect(document.body.innerHTML).toMatchInlineSnapshot(`
11
<div>
12
<h1>Hello World</h1>
0 commit comments