UNPKG

react-garden

Version:

React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.

13 lines (11 loc) 358 B
import { shallowMount } from "@vue/test-utils"; import HelloGarden from "@/components/HelloGarden.vue"; describe("HelloGarden.vue", () => { it("renders props.msg when passed", () => { const msg = "new message"; const wrapper = shallowMount(HelloGarden, { props: { msg } }); expect(wrapper.text()).toMatch(msg); }); });