From e04ad30aa60e852916281eace86fb8eeb99ae62c Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 22 Mar 2023 13:31:27 -0700 Subject: [PATCH] windows test: don't try to skip before loading tap --- test/memfs.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/memfs.ts b/test/memfs.ts index dbac7ae3..fc97af27 100644 --- a/test/memfs.ts +++ b/test/memfs.ts @@ -1,10 +1,11 @@ +import t from 'tap' + if (process.platform === 'win32') { t.plan(0, 'this test does not work on windows') process.exit(0) } import { fs as memfs, vol } from 'memfs' -import t from 'tap' import { glob } from '../' t.beforeEach(() => vol.fromJSON({ '/x': 'abc' }))