Skip to content

Commit 3ac862a

Browse files
committed
POC: migrate to vitest
1 parent 3f60017 commit 3ac862a

File tree

11 files changed

+5123
-7567
lines changed

11 files changed

+5123
-7567
lines changed

.config/rollup.dist.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const distRequirePath = path.join(rootDistPath, REQUIRE)
5151
const editablePkgJson = readPackageJsonSync(rootPath, { editable: true })
5252

5353
const processEnvTapRegExp =
54-
/\bprocess\.env(?:\.TAP|\[['"]TAP['"]\])(\s*\?[^:]+:\s*)?/g
54+
/\bprocess\.env(?:\.TAP|\[['"](?:TAP|VITEST)['"]\])(\s*\?[^:]+:\s*)?/g
5555

5656
function createStubCode(relFilepath) {
5757
return `'use strict'\n\nmodule.exports = require('${relFilepath}')\n`

0 commit comments

Comments
 (0)