diff --git a/matrix/results/bun.json b/matrix/results/bun.json index d449448..822aa34 100644 --- a/matrix/results/bun.json +++ b/matrix/results/bun.json @@ -2,7 +2,7 @@ "name": "bun", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/dist/bun.mjs" + "cases/import-cjs/dist/bun.mjs" ], "data": [ { diff --git a/matrix/results/endo.json b/matrix/results/endo.json index 93a2177..5677984 100644 --- a/matrix/results/endo.json +++ b/matrix/results/endo.json @@ -2,7 +2,7 @@ "name": "endo", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/endo.mjs" + "cases/import-cjs/endo.mjs" ], "data": [ { diff --git a/matrix/results/esbuild.json b/matrix/results/esbuild.json index 2cfb1bb..0f7e2cf 100644 --- a/matrix/results/esbuild.json +++ b/matrix/results/esbuild.json @@ -2,7 +2,7 @@ "name": "esbuild", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/dist/esbuild.js" + "cases/import-cjs/dist/esbuild.js" ], "data": [ { diff --git a/matrix/results/node-v12.17.json b/matrix/results/node-v12.17.json index 7bf7d3c..2ae151b 100644 --- a/matrix/results/node-v12.17.json +++ b/matrix/results/node-v12.17.json @@ -2,7 +2,7 @@ "name": "node-v12", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/index.mjs" + "cases/import-cjs/index.mjs" ], "data": [ { diff --git a/matrix/results/node-v12.22.json b/matrix/results/node-v12.22.json index 9ef96a6..833a89d 100644 --- a/matrix/results/node-v12.22.json +++ b/matrix/results/node-v12.22.json @@ -2,7 +2,7 @@ "name": "node-v12", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/index.mjs" + "cases/import-cjs/index.mjs" ], "data": [ { diff --git a/matrix/results/node-v16.json b/matrix/results/node-v16.json index 5b9362d..131e3fc 100644 --- a/matrix/results/node-v16.json +++ b/matrix/results/node-v16.json @@ -2,7 +2,7 @@ "name": "node-v16", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/index.mjs" + "cases/import-cjs/index.mjs" ], "data": [ { diff --git a/matrix/results/node-v20.json b/matrix/results/node-v20.json index b808ae7..b54f523 100644 --- a/matrix/results/node-v20.json +++ b/matrix/results/node-v20.json @@ -2,7 +2,7 @@ "name": "node-v20", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/index.mjs" + "cases/import-cjs/index.mjs" ], "data": [ { diff --git a/matrix/results/parcel.json b/matrix/results/parcel.json index 5933d77..c9495b0 100644 --- a/matrix/results/parcel.json +++ b/matrix/results/parcel.json @@ -2,7 +2,7 @@ "name": "parcel", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/dist/parcel.js" + "cases/import-cjs/dist/parcel.js" ], "data": [ { diff --git a/matrix/results/rollup.json b/matrix/results/rollup.json index 4b54f91..380a3da 100644 --- a/matrix/results/rollup.json +++ b/matrix/results/rollup.json @@ -2,7 +2,7 @@ "name": "rollup", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/dist/rollup.js" + "cases/import-cjs/dist/rollup.js" ], "data": [ { diff --git a/matrix/results/tsc.json b/matrix/results/tsc.json index e0d30b1..0314828 100644 --- a/matrix/results/tsc.json +++ b/matrix/results/tsc.json @@ -2,7 +2,7 @@ "name": "tsc", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/dist/tsc/index.js" + "cases/import-cjs/dist/tsc/index.js" ], "data": [ { diff --git a/matrix/results/tscInterop.json b/matrix/results/tscInterop.json index 4675f37..8429e64 100644 --- a/matrix/results/tscInterop.json +++ b/matrix/results/tscInterop.json @@ -2,7 +2,7 @@ "name": "tscInterop", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/dist/tscinterop/index.js" + "cases/import-cjs/dist/tscinterop/index.js" ], "data": [ { diff --git a/matrix/results/webpack.json b/matrix/results/webpack.json index 44bf861..6c5cc32 100644 --- a/matrix/results/webpack.json +++ b/matrix/results/webpack.json @@ -2,7 +2,7 @@ "name": "webpack", "bin": "node", "args": [ - "/home/naugtur/repo/endo-e2e-tests/matrix/cases/import-cjs/dist/webpack.js" + "cases/import-cjs/dist/webpack.js" ], "data": [ { diff --git a/matrix/tools/runTests.cjs b/matrix/tools/runTests.cjs index 5ae642b..478d57c 100644 --- a/matrix/tools/runTests.cjs +++ b/matrix/tools/runTests.cjs @@ -4,8 +4,8 @@ const { execFile } = require('child_process'); const { writeFileSync } = require('fs'); const path = require('path'); -const CASE_PATH = path.resolve(__dirname, '../cases/import-cjs'); -const RESULT_PATH = path.resolve(__dirname, '../results'); +const CASE_PATH = path.relative(process.cwd(), path.resolve(__dirname, '../cases/import-cjs')); +const RESULT_PATH = path.relative(process.cwd(), path.resolve(__dirname, '../results')); const engines = { node: { name: 'node', bin: 'node', args: [`${CASE_PATH}/index.mjs`] },