Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
przucidlo committed Jun 8, 2024
1 parent ea7761e commit 54a73a6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test/functional/fixtures/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ export interface Fixtures {
export const test = base.extend<Fixtures>({
brokerPage: [
async ({}, use) => {
const mainPath = process.env.CI
? '../app/out/app-linux-x64/resources/app/.vite/build/main.js'
: '../app/out/app-darwin-arm64/app.app/Contents/Resources/app/.vite/build/main.js';

const app = await electron.launch({
args: [
path.join(
__dirname,
'../app/out/app-darwin-arm64/app.app/Contents/Resources/app/.vite/build/main.js',
),
],
args: [path.join(__dirname, mainPath)],
env: {
...process.env,
NODE_ENV: 'development',
},
});

Expand Down

0 comments on commit 54a73a6

Please sign in to comment.