Skip to content

Commit 89fc476

Browse files
authored
POC for migrating tap to vitest (#312)
* tmp * POC: migrate to vitest * npm run fix * Drop last TAP reference * Extend test time allowance for ci * 30? * whats going on here * explicitly pipe output * prevent timeouts when we can see npm simply ran to completion incorrectly * undo the piping * boundaries * needs error obj but doesnt change anything * ok * Does this work? * Why do we even need them for the test * dis one? (tmp) * test * revert some changes * ohhhh * assert true * grr * yunowin * Set timeout for test * Undo debugging stuff and lets go
1 parent bbb426c commit 89fc476

File tree

12 files changed

+4288
-6587
lines changed

12 files changed

+4288
-6587
lines changed

.config/rollup.dist.config.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ const {
4242
SOCKET_CLI_PUBLISHED_BUILD,
4343
SOCKET_CLI_SENTRY_BUILD,
4444
SOCKET_CLI_VERSION_HASH,
45-
TAP,
4645
VENDOR,
46+
VITEST,
4747
WITH_SENTRY,
4848
depStatsPath,
4949
rootDistPath,
@@ -385,10 +385,10 @@ export default () => {
385385
)
386386
],
387387
[
388-
TAP,
388+
VITEST,
389389
() =>
390390
// Lazily access constants.ENV[TAP].
391-
!!constants.ENV[TAP]
391+
!!constants.ENV[VITEST]
392392
]
393393
].reduce((obj, { 0: name, 1: value }) => {
394394
obj[`process.env.${name}`] = value

.taprc

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)