We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb4655d commit d7e88ebCopy full SHA for d7e88eb
questions/9-dependency-injection/index.test.ts
@@ -0,0 +1,11 @@
1
+import { mount } from "@vue/test-utils"
2
+import { describe, it, expect } from "vitest"
3
+
4
+import App from "./App.vue"
5
6
+describe("Dependency Injection", () => {
7
+ it("should work'", () => {
8
+ const wrapper = mount(App)
9
+ expect(wrapper.vm.$el.textContent).toBe("1")
10
+ })
11
+})
0 commit comments