Skip to content

Commit 134579d

Browse files
committed
Use joinPath for runTrampoline test path
1 parent 51559a8 commit 134579d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/app/src/cli/services/function/build.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const derivedDeps = {
4848
}
4949

5050
const app = testApp({dotenv: {variables: {VAR_FROM_ENV_FILE: 'env_file_var'}, path: ''}})
51-
const functionModulePath = '/tmp/project/extensions/my-function/dist/index.wasm'
51+
const functionModulePath = joinPath('/tmp/project/extensions/my-function', 'dist', 'index.wasm')
5252

5353
function createWasmModule(importModuleName: string): Buffer {
5454
const importsModuleNameBytes = Array.from(importModuleName).map((char) => char.charCodeAt(0))

0 commit comments

Comments
 (0)