Skip to content

Commit 17eecfe

Browse files
committed
skip teardown test in windows
1 parent 9435225 commit 17eecfe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/teardown.test.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
'use strict'
22

33
const { test } = require('brittle')
4+
const { isWindows } = require('which-runtime')
45
const path = require('bare-path')
56

67
const Helper = require('./helper')
78

89
const dirname = __dirname
910

10-
test('teardown default', async function (t) {
11+
test('teardown default', { skip: isWindows }, async function (t) {
1112
t.plan(1)
1213

1314
const dir = path.join(dirname, 'fixtures', 'teardown-default')
@@ -21,7 +22,7 @@ test('teardown default', async function (t) {
2122
t.is(td, 'teardown', 'teardown executed')
2223
})
2324

24-
test('teardown with position', async function (t) {
25+
test('teardown with position', { skip: isWindows }, async function (t) {
2526
t.plan(1)
2627

2728
const dir = path.join(dirname, 'fixtures', 'teardown-with-position')

0 commit comments

Comments
 (0)