Skip to content

Commit 20ba92c

Browse files
committed
Increase cdxgen test timeout
1 parent 0077525 commit 20ba92c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,13 @@ const lazyNodeHardenFlags = () =>
258258
'--disable-proto',
259259
'delete',
260260
// Lazily access constants.WIN32.
261-
constants.WIN32
261+
...(constants.WIN32
262262
? // We have contributed the following patches to our dependencies to make
263263
// Node's --frozen-intrinsics workable.
264264
// √ https://github.com/SBoudrias/Inquirer.js/pull/1683
265265
// √ https://github.com/pnpm/components/pull/23
266266
['--frozen-intrinsics']
267-
: [],
267+
: []),
268268
'--no-deprecation'
269269
]
270270

test/socket-cdxgen.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ describe('Socket cdxgen command', async () => {
2727
it(
2828
'should forwards known commands to cdxgen',
2929
{
30-
// Takes ~10s in CI
31-
timeout: 20_000
30+
// Takes ~120s in CI
31+
timeout: 120_000
3232
},
3333
async () => {
3434
for (const command of ['-h', '--help']) {

0 commit comments

Comments
 (0)