mirror of
https://github.com/modrinth/code.git
synced 2026-09-04 22:10:15 +00:00
Initial monorepo setup
This commit is contained in:
@@ -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