Files
nanakura dc26878386
CI / Lint (push) Canceled after 0s
CI / Build Test (stage-web) (push) Canceled after 0s
CI / Build Test (ui-loading-screens) (push) Canceled after 0s
CI / Build Test (ui-transitions) (push) Canceled after 0s
CI / Unit Test (push) Canceled after 0s
CI / Type Check (push) Canceled after 0s
CI / Check Provenance (push) Canceled after 0s
Sync Labels / sync-labels (push) Successful in 1m43s
chore: prune unused apps and services for the moeka fork
- Remove stage-tamagotchi, stage-pocket, server, and engine workspaces with their workflows, addons, and docs
- Switch the toolchain from pnpm to bun, replace lockfiles with bun.lock
- Rewrite remaining product references to Moeka
2026-09-14 16:40:49 +07:00

34 lines
907 B
TypeScript

import { join } from 'node:path'
import fakemic, { web } from '@proj-airi/vitest-plugin-fakemic'
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
projects: [
fakemic({
name: 'audio-web',
include: ['cases/**/*.audio.test.ts', 'cases/**/*.audio.web.test.ts'],
runtime: web({
name: 'web',
prepare: new URL('./src/runtimes/prepare-web.ts', import.meta.url).href,
url: 'http://127.0.0.1:4173/',
context: { permissions: ['microphone'] },
preview: {
configFile: join(import.meta.dirname, '../../apps/stage-web/vite.config.ts'),
root: join(import.meta.dirname, '../../apps/stage-web'),
},
}),
}),
{
extends: true,
test: {
name: 'unit',
include: ['src/**/*.test.ts'],
},
},
],
},
})