Skip to content

Commit

Permalink
Isolate failing test skips
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Jul 14, 2023
1 parent 5e34a4a commit 514fc67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/start.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ test('should start the server listening on 0.0.0.0 when running in kubernetes',
t.pass('server closed')
})

test('should start the server with watch options that the child process restart when directory changed', { skip: process.platform === 'win32' }, async (t) => {
test('should start the server with watch options that the child process restart when directory changed', { skip: process.platform === 'win32' || (process.platform === 'darwin' && ['v20', 'v19', 'v18'].some(v => process.version.startsWith(v))) }, async (t) => {
t.plan(3)
const tmpjs = path.resolve(baseFilename + '.js')

Expand Down Expand Up @@ -584,7 +584,7 @@ test('should start the server with watch options that the child process restart
t.pass('should receive restart event')
})

test('should start the server with watch and verbose-watch options that the child process restart when directory changed with console message about changes ', { skip: process.platform === 'win32' }, async (t) => {
test('should start the server with watch and verbose-watch options that the child process restart when directory changed with console message about changes ', { skip: process.platform === 'win32' || (process.platform === 'darwin' && ['v20', 'v19', 'v18'].some(v => process.version.startsWith(v))) }, async (t) => {
t.plan(4)

const spy = sinon.spy()
Expand Down

0 comments on commit 514fc67

Please sign in to comment.