From 2d4ccb64e9bcfdeaee8699e0cafe897650784c32 Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Fri, 19 Apr 2024 14:14:47 +0200 Subject: [PATCH] Skip jsdoc checks on windows due to https://github.com/nodejs/node/issues/52554 Failure is like: 1) JSDoc contains all methods "before all" hook for "Database": Error: spawn EINVAL at ChildProcess.spawn (node:internal/child_process:414:11) at spawn (node:child_process:761:9) at execFile (node:child_process:351:17) at jsdocParser (node_modules\jsdoc3-parser\index.js:58:3) at node:internal/util:441:7 at new Promise () at jsdocParser (node:internal/util:427:12) unsure whether jsdocParser can be bumped, but looks to be broken still. --- test/jsdoc.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/jsdoc.test.ts b/test/jsdoc.test.ts index 7e6f7086..357e9258 100644 --- a/test/jsdoc.test.ts +++ b/test/jsdoc.test.ts @@ -24,6 +24,7 @@ export interface Node { scope: string; } describe("JSDoc contains all methods", () => { + if (process.platform == 'win32') this.skip(); let docs: Node[]; before(async () => { docs = await promisify(jsdoc)(require.resolve("../lib/duckdb"));