refactor the test infra: use puppeteer instead of jsdom to get rid of some hack implementations

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 0e35b86d87
commit 7fadc986ec
9 changed files with 125 additions and 72 deletions

6
index.d.ts vendored
View File

@@ -1,4 +1,4 @@
declare module 'mocha-jsdom' {
function mochaDom(options: any): void;
export = mochaDom;
declare module 'rollup-plugin-typescript' {
function typescript(): any;
export = typescript;
}