chore: pin dependencies and use native TypeScript
This commit is contained in:
@@ -39,7 +39,7 @@ describe("issue #2791 fs.watch error event crashes process", () => {
|
||||
});
|
||||
|
||||
it("process should survive an error event on the theme FSWatcher", () => {
|
||||
const themeModulePath = join(__dirname, "../../../src/modes/interactive/theme/theme.js").replace(/\\/g, "/");
|
||||
const themeModulePath = join(__dirname, "../../../src/modes/interactive/theme/theme.ts").replace(/\\/g, "/");
|
||||
const agentDir = join(tempRoot, "agent").replace(/\\/g, "/");
|
||||
|
||||
// Script that sets up the watcher and emits a synthetic error on it.
|
||||
@@ -87,7 +87,7 @@ process.exit(0);
|
||||
let stderr = "";
|
||||
let exitCode: number;
|
||||
try {
|
||||
_stdout = execFileSync("npx", ["tsx", scriptPath], {
|
||||
_stdout = execFileSync(process.execPath, [scriptPath], {
|
||||
timeout: 10000,
|
||||
encoding: "utf-8",
|
||||
env: { ...process.env, PI_CODING_AGENT_DIR: agentDir },
|
||||
|
||||
Reference in New Issue
Block a user