-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`mount component 1`] = `"<div>4 x 2 = 8</div><button>x1</button>"`; | ||
exports[`mount component 1`] = ` | ||
<div | ||
id="host" | ||
> | ||
<div> | ||
4 | ||
x | ||
2 | ||
= | ||
8 | ||
</div> | ||
<button> | ||
x1 | ||
</button> | ||
</div> | ||
`; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`Hello.marko > mounts 1`] = `"<div>4 x 2 = 8</div><button>x1</button>"`; | ||
exports[`Hello.marko > mounts 1`] = ` | ||
<div> | ||
4 | ||
x | ||
2 | ||
= | ||
8 | ||
</div> | ||
`; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { cleanup } from '@marko/testing-library' | ||
import { afterEach } from 'vitest' | ||
|
||
afterEach(() => { | ||
cleanup() | ||
}) |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.