test(core): skip some failing tests on Node.js v17 and above

This commit is contained in:
Zoltan Kochan committed 2022-11-02 03:06:34 +02:00
1 parent 80faffe234
commit cd38822132
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ import { addDependenciesToPackage, install } from '@pnpm/core'
import rimraf from '@zkochan/rimraf'
import { testDefaults } from '../utils'
const skipOnNode17 = process.version.split('.')[0] === 'v17' ? test.skip : test
const skipOnNode17 = ['v14', 'v16'].includes(process.version.split('.')[0]) ? test : test.skip
test('a package that need authentication', async () => {
const project = prepareEmpty()