File tree Expand file tree Collapse file tree
internal-packages/testcontainers/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { spawn } from "child_process" ;
22import { createServer } from "net" ;
3- import { resolve } from "path" ;
3+ import { delimiter , resolve } from "path" ;
44import { Network } from "testcontainers" ;
55import { PrismaClient } from "@trigger.dev/database" ;
66import { createPostgresContainer } from "./utils" ;
@@ -46,7 +46,7 @@ export async function startWebapp(databaseUrl: string): Promise<{
4646 // Merge NODE_PATH so transitive pnpm deps (hoisted to .pnpm/node_modules) are resolvable
4747 const existingNodePath = process . env . NODE_PATH ;
4848 const nodePath = existingNodePath
49- ? `${ PNPM_HOISTED_MODULES } : ${ existingNodePath } `
49+ ? `${ PNPM_HOISTED_MODULES } ${ delimiter } ${ existingNodePath } `
5050 : PNPM_HOISTED_MODULES ;
5151
5252 const proc = spawn ( process . execPath , [ "build/server.js" ] , {
You can’t perform that action at this time.
0 commit comments