Skip to content

Commit 7e05049

Browse files
authored
teat: add test for Q14/Q27 (#649)
1 parent a0cd4f8 commit 7e05049

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { describe, it, expect } from "vitest"
2+
3+
import AppRaw from "./App.vue?raw"
4+
5+
describe("DomPortal", () => {
6+
it("render to body", () => {
7+
expect(AppRaw).toContain("color: v-bind(theme)")
8+
})
9+
})
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { describe, it, expect } from "vitest"
2+
3+
import AppRaw from "./App.vue?raw"
4+
5+
describe("DomPortal", () => {
6+
it("render to body", () => {
7+
expect(AppRaw).toContain(":global(body)")
8+
})
9+
})

0 commit comments

Comments
 (0)