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.
14 lines (12 loc) • 382 B
text/typescript
import { expect } from 'chai';
import { shallowMount } from '@vue/test-utils';
import HelloGarden from '@/components/LayoutFooter.vue';
describe('HelloGarden.vue', () => {
it('renders props.msg when passed', () => {
const msg = 'new message';
const wrapper = shallowMount(HelloGarden, {
props: { msg },
});
expect(wrapper.text()).to.include(msg);
});
});