Extracted from uncaged monorepo (oc-xiaoju/uncaged). Resolves oc-xiaoju/uncaged#224. - @uncaged/ograph: CF Worker engine (events, projections, reactions) - @uncaged/ograph-cli: CLI for managing OGraph instances - Removed @uncaged/oid dependency (unused) - 116 tests, all passing - CI: GitHub Actions 小橘 🍊(NEKO Team)
21 lines
367 B
TypeScript
21 lines
367 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['src/**/*.test.ts'],
|
|
},
|
|
plugins: [
|
|
{
|
|
name: 'html-raw',
|
|
enforce: 'pre',
|
|
load(id: string) {
|
|
if (id.endsWith('.html')) {
|
|
return `export default ""`
|
|
}
|
|
},
|
|
},
|
|
],
|
|
})
|