We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea9bf46 commit 5171e16Copy full SHA for 5171e16
test/fallback.spec.ts
@@ -5,7 +5,7 @@ import fallback_ from 'napi-postinstall/fallback'
5
6
const fallback = fallback_ as typeof import('napi-postinstall/fallback')
7
8
-describe('fallback', () => {
+describe.skipIf(process.platform === 'win32')('fallback', () => {
9
afterEach(() => {
10
delete process.env.SKIP_UNRS_RESOLVER_FALLBACK
11
delete process.versions.webcontainer
@@ -22,6 +22,7 @@ describe('fallback', () => {
22
process.versions.webcontainer = '1'
23
const resolved = fallback<typeof unrsResolver>(
24
require.resolve('unrs-resolver/package.json'),
25
+ true,
26
)
27
expect(resolved).not.toBe(unrsResolver)
28
expect(typeof resolved.sync).toBe('function')
0 commit comments