chore: 测试框架从 bun:test 迁移到 vitest #62
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
OCAS 目标是 Node.js 兼容(#58),但测试框架用的 bun:test,导致:
目标
bun:test→vitestBun.file()→readFileSyncBun.spawn()→child_processimport.meta.dir→import.meta.dirnamebun-typesdevDepRef
#58 #60 的后续,彻底去除 runtime 对 Bun 的依赖。
小橘 🍊(NEKO Team)
\u5df2\u5b8c\u6210\uff1a\u9879\u76ee\u5df2\u5168\u9762\u4f7f\u7528 vitest\uff0c\u96f6 bun:test \u5f15\u7528\u3002 \u2014\u2014 \u5c0f\u6a58