Files
AstralRinth/apps/theseus-gui-tpl/src/app/App.spec.ts
2024-07-03 13:25:49 -07:00

15 lines
340 B
TypeScript

import router from '../router';
import { mount } from '@vue/test-utils';
import App from './App.vue';
describe('App', () => {
it('renders properly', async () => {
const wrapper = mount(App, { global: { plugins: [router] } });
await router.isReady();
expect(wrapper.text()).toContain('Welcome theseus-gui 👋');
});
});