(workerFileName: string)
| 56 | } |
| 57 | |
| 58 | function workerCodeFilePath(workerFileName: string): string { |
| 59 | if (process.env.NODE_ENV === "test") { |
| 60 | // `cross-env` seems to make it so __dirname is the root of the project and not the directory containing this file |
| 61 | return path.join(__dirname, "llm", workerFileName); |
| 62 | } |
| 63 | return path.join(__dirname, workerFileName); |
| 64 | } |
no outgoing calls
no test coverage detected