test: add electron test (#1840)

This commit is contained in:
Himself65 authored and GitHub committed 2023-04-24 18:53:36 -05:00
1 parent 9c94d05dd8
commit d3ce90e721
18 files changed
+212 -33

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ import path from 'node:path';
import * as esbuild from 'esbuild';
import commonFn from './common.mjs';
import { config } from './common.mjs';
const repoRootDir = path.join(__dirname, '..', '..', '..');
const electronRootDir = path.join(__dirname, '..');
@@ -77,7 +77,7 @@ async function cleanup() {
}
async function buildLayers() {
const common = commonFn();
const common = config();
await esbuild.build(common.preload);
await esbuild.build({