Skip to content

Commit

Permalink
Skip standard I/O tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Feb 15, 2024
1 parent 6af1f25 commit eb70c0c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/* global Bare */
const test = require('brittle')
const os = require('bare-os')
const Pipe = require('.')

test('stdout', (t) => {
const isWindows = Bare.platform === 'win32'

test('stdout', { skip: isWindows }, (t) => {
t.plan(1)

const stdout = new Pipe(1)
Expand All @@ -11,7 +14,7 @@ test('stdout', (t) => {
.end('hello from pipe\n')
})

test('stderr', (t) => {
test('stderr', { skip: isWindows }, (t) => {
t.plan(1)

const stdout = new Pipe(2)
Expand Down

0 comments on commit eb70c0c

Please sign in to comment.