feat:移除了弹窗,服务器添加sls

This commit is contained in:
2026-09-08 22:39:45 +08:00
commit 6a295f9a7a
4082 changed files with 1322534 additions and 0 deletions

View File

@ -0,0 +1,13 @@
import { applyD1Migrations, env, type D1Migration } from 'cloudflare:test'
import { beforeAll } from 'vitest'
declare module 'cloudflare:test' {
interface ProvidedEnv {
DB: D1Database
TEST_MIGRATIONS: D1Migration[]
}
}
beforeAll(async () => {
await applyD1Migrations(env.DB, env.TEST_MIGRATIONS)
})