diff --git a/package.json b/package.json index 4c40375e..5b7d42b4 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "license": "MIT", "type": "module", "scripts": { - "build": "pnpm --filter './packages/**' build", + "build": "pnpm --filter \"./packages/**\" build", "check:format": "rs fmt --check", "check:spell": "pnpm dlx cspell && heading-case", "doc": "pnpm --dir website dev", @@ -14,7 +14,7 @@ "lint": "rs lint --type-check", "prepare": "node scripts/rs.js setup", "release:prepare": "node scripts/prepare-release.js", - "test": "pnpm --filter './packages/**' test" + "test": "pnpm --filter \"./packages/**\" test" }, "devDependencies": { "@types/node": "catalog:", diff --git a/packages/rstack/tests/config/define-doc/index.test.ts b/packages/rstack/tests/config/define-doc/index.test.ts index 464e7580..5cd83ddf 100644 --- a/packages/rstack/tests/config/define-doc/index.test.ts +++ b/packages/rstack/tests/config/define-doc/index.test.ts @@ -12,4 +12,4 @@ test('should build docs with define.doc config', async ({ prepareDist, execCli, const output = getFileContent(files, 'index.html'); expect(output).toContain(expectedText); -}); +}, 15_000); diff --git a/packages/rstack/tests/helpers/cli.ts b/packages/rstack/tests/helpers/cli.ts index 6046db43..6e67b7b0 100644 --- a/packages/rstack/tests/helpers/cli.ts +++ b/packages/rstack/tests/helpers/cli.ts @@ -25,7 +25,7 @@ export const execCli: ExecCli = (command, options = {}) => { const { logHelper, ...execOptions } = options; try { - const output = execSync(`${RSTACK_BIN_PATH} ${command}`, { + const output = execSync(`"${process.execPath}" "${RSTACK_BIN_PATH}" ${command}`, { stdio: 'pipe', ...execOptions, env: {