mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
fbec2f6f5d
- Add contentinfo to subtree-level noise filtering (biggest single win) - Reuters: 51% → 62%, Google: 57% → 70%, Netflix: 48% → 60% - Add cm.bilibili.com/cm/api/fees/ ad URL pattern - Add 广告 keyword to ad detection - Add back-to-top / 回到顶部 boilerplate button filtering - Unify ad/boilerplate/contentinfo into single subtree-skip mechanism - Add vitest config and comprehensive test suite (33 tests) - Fixture tests skip gracefully when snapshot files are absent Bump to v0.7.1
22 lines
363 B
TypeScript
22 lines
363 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
projects: [
|
|
{
|
|
test: {
|
|
name: 'unit',
|
|
include: ['src/**/*.test.ts'],
|
|
},
|
|
},
|
|
{
|
|
test: {
|
|
name: 'e2e',
|
|
include: ['tests/**/*.test.ts'],
|
|
maxWorkers: 2,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
});
|