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

This commit is contained in:
Zoltan Kochan
2022-11-02 02:54:14 +02:00
parent 80faffe234
commit cd38822132

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()