trying out what circleci support said

This commit is contained in:
Core 2022-02-04 09:52:41 +00:00
parent 852ab56253
commit ba4eb5f033
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
2 changed files with 6 additions and 3 deletions

View file

@ -3,7 +3,7 @@ jobs:
build:
working_directory: ~/Cider
docker:
- image: circleci/node:16
- image: circleci/node:16-browsers
steps:
- checkout
- run:
@ -32,6 +32,9 @@ jobs:
sudo dpkg --add-architecture i386
sudo apt-get update -y
sudo apt-get install -y wine32
- run:
name: Base Functionality Testing
command: yarn test
- store_test_results:
path: test-results
- run:

View file

@ -6,7 +6,7 @@ import * as fs from "fs";
test("Launch electron app", async () => {
const paths = {
"mainBuild": resolve(__dirname, "../../dist/"),
"mainBuild": resolve(__dirname, "../../build/"),
"main": resolve(__dirname, "../main"),
"root": resolve(__dirname, "../../"),
"cwd": __dirname,
@ -17,7 +17,7 @@ test("Launch electron app", async () => {
console.log(fs.readdirSync(paths.main))
const electronApp = await electron.launch({ args: ['dist/index.js'], cwd: paths.root });
const electronApp = await electron.launch({ args: ['build/index.js'], cwd: paths.root });
const appPath = await electronApp.evaluate(async ({ app }) => {
// This runs in the main Electron process, parameter here is always