chore: lint
Some checks failed
CI/CD Pipeline / playwright (push) Failing after 8m43s
CI/CD Pipeline / build-and-deploy (push) Has been skipped

This commit is contained in:
严浩
2025-10-27 02:01:08 +08:00
parent effb89c4dc
commit aadf03edd0
7 changed files with 25 additions and 24 deletions

View File

@@ -6,7 +6,10 @@
* https://pinia.vuejs.org/zh/cookbook/testing.html#unit-testing-components
*/
import { mount } from '@vue/test-utils';
import { describe, expect, it } from 'vitest';
import { createMemoryHistory, createRouter } from 'vue-router';
import App from './App.vue';
const router = createRouter({
history: createMemoryHistory(),
@@ -20,10 +23,6 @@ const router = createRouter({
],
});
import { mount } from '@vue/test-utils';
import { createMemoryHistory, createRouter } from 'vue-router';
import App from './App.vue';
describe('App', () => {
it('renders RouterView', async () => {
router.push('/');