We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jest 对 pure esm 的支持比较差,要开启 Node.js 实验性特性,且目前跑 CI 偶发性挂掉的概率越来越高了,所以切换到 Vitest 的必要性也越来越高,dumi 用下来很顺
The text was updated successfully, but these errors were encountered:
我来做?我想跑一下 vitest
Sorry, something went wrong.
太好了[抱大腿]
遇到一个问题,感觉很简单,但是把我卡住了。有知道解法的朋友,指导一下。
问题是因为 require.resolve('./a') 需要写明文件后缀。
重现路径: https://stackblitz.com/edit/vitest-dev-vitest-p3r57v?file=test/basic.test.ts
import { resolve } from '@umijs/utils'; - require.resolve('./a') resolve.sync('../a', { basedir: __dirname, extensions: ['.ts', '.js'], }),
xiaohuoni
Successfully merging a pull request may close this issue.
Jest 对 pure esm 的支持比较差,要开启 Node.js 实验性特性,且目前跑 CI 偶发性挂掉的概率越来越高了,所以切换到 Vitest 的必要性也越来越高,dumi 用下来很顺
The text was updated successfully, but these errors were encountered: