96f4cba4a8
- Add array/async/etc. modules and type tests; migrate to eslint flat config and composite tsconfig (vitest typecheck enabled). - Fix PubSub.emit to snapshot listeners before iterating (stable EventEmitter semantics; avoids invoking listeners added during the same emit).
12 lines
205 B
TypeScript
12 lines
205 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
typecheck: {
|
|
enabled: true,
|
|
tsconfig: './tsconfig.src.json',
|
|
},
|
|
},
|
|
});
|