trying out what circleci support said
This commit is contained in:
parent
852ab56253
commit
ba4eb5f033
2 changed files with 6 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue