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
..
2026-08-26 20:13:10 +08:00
2026-08-26 20:13:10 +08:00

Vitest plugin for fake microphones

This package supplies fake-microphone Web and Electron runtimes with Vitest project integration.

Import the Vitest interface from the package root:

import fakemic, {
  createAudioTestAPI,
  electron,
  runAudioTestSession,
  web,
} from '@proj-airi/vitest-plugin-fakemic'

src/index.ts owns project configuration, runtime launch, task collection, and preflight scheduling. src/runner.ts owns task execution.

Runtime configuration contains only serializable values. A prepare module adapts the launched Playwright runtime into an application session.

fakemic({
  name: 'audio-web',
  include: ['cases/**/*.audio.test.ts', 'cases/**/*.audio.web.test.ts'],
  runtime: web({
    name: 'web',
    prepare: new URL('./prepare-web.ts', import.meta.url).href,
    url: 'http://127.0.0.1:4173/',
  }),
})

Application packages own selectors, routes, probes, Provider settings, and prepare modules.