Skip to content

Commit

Permalink
Skip jsdoc checks on windows due to nodejs/node#52554
Browse files Browse the repository at this point in the history
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 (<anonymous>)
      at jsdocParser (node:internal/util:427:12)

unsure whether jsdocParser can be bumped, but looks to be broken still.
  • Loading branch information
carlopi committed Apr 19, 2024
1 parent 0cf7eb8 commit 139c829
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/jsdoc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export interface Node {
longname: string;
scope: string;
}

if (process?.platform != 'win32') {
describe("JSDoc contains all methods", () => {
let docs: Node[];
before(async () => {
Expand Down Expand Up @@ -57,3 +59,4 @@ describe("JSDoc contains all methods", () => {
checkDocs(duckdb, 'module:duckdb');
});
});
}

0 comments on commit 139c829

Please sign in to comment.