You've already forked AstralRinth
forked from didirus/AstralRinth
Prepare for adding theseus
This commit is contained in:
14
apps/theseus-gui-tpl/src/app/App.spec.ts
Normal file
14
apps/theseus-gui-tpl/src/app/App.spec.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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 👋');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user