This commit is contained in:
2026-06-15 01:48:03 -06:00
parent 2bd1e0399a
commit 379ff41947
40 changed files with 2669 additions and 360 deletions

13
src/App.test.ts Normal file
View File

@@ -0,0 +1,13 @@
import { mount } from '@vue/test-utils'
import { beforeEach, describe, expect, it } from 'vitest'
import App from './App.vue'
describe('App', () => {
beforeEach(() => localStorage.clear())
it('starts with the multi-file upload screen', () => {
const wrapper = mount(App)
expect(wrapper.get('input[type="file"]').attributes('multiple')).toBeDefined()
expect(wrapper.text()).toContain('上传 Markdown')
})
})