From 2dbc6c9ee0189199299d65e688bbac6abe0e7ccd Mon Sep 17 00:00:00 2001 From: Rob Larsen Date: Tue, 9 Apr 2024 19:28:44 +0000 Subject: [PATCH] Fixing tests on Windows --- package-lock.json | 4 ++-- test/file_existence.mjs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e619f057a2..c82b998d79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,8 +26,8 @@ "strip-json-comments": "^5.0.1" }, "engines": { - "node": ">=16", - "npm": ">=8" + "node": ">=18", + "npm": ">=10" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/test/file_existence.mjs b/test/file_existence.mjs index 8e92a21616..111b7329f9 100644 --- a/test/file_existence.mjs +++ b/test/file_existence.mjs @@ -56,7 +56,8 @@ function checkFiles(directory, expectedFiles) { '**/.cache/**', ], dot: true, // include hidden files - mark: true, // add a `/` character to directory matches + mark: true, // add a `/` character to directory matches, + windowsPathsNoEscape: false, //https://github.com/isaacs/node-glob/issues/467 }); // Check if all expected files are present in the