File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
* Entry point of the Election app.
3
3
*/
4
4
import * as path from 'path' ;
5
- import * as nodeEnv from '_utils/node-env' ;
6
5
// eslint-disable-next-line import/no-extraneous-dependencies
7
6
import { BrowserWindow , app , ipcMain } from 'electron' ;
7
+ import * as nodeEnv from '_utils/node-env' ;
8
8
9
9
let mainWindow : Electron . BrowserWindow | undefined ;
10
10
Original file line number Diff line number Diff line change 1
- import ipcAPI from '_preload/ipc-api' ;
2
1
// eslint-disable-next-line import/no-extraneous-dependencies
3
2
import { contextBridge } from 'electron' ;
3
+ import ipcAPI from '_preload/ipc-api' ;
4
4
5
5
contextBridge . exposeInMainWorld ( 'ipcAPI' , ipcAPI ) ;
Original file line number Diff line number Diff line change 4
4
// Import the styles here to process them with webpack
5
5
import '_public/style.css' ;
6
6
7
- import App from '_renderer/App' ;
8
7
import * as React from 'react' ;
9
8
import { createRoot } from 'react-dom/client' ;
9
+ import App from '_renderer/App' ;
10
10
11
11
const container = document . getElementById ( 'app' ) ;
12
12
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
Original file line number Diff line number Diff line change 1
- import { exportedForTests } from '_main/main' ;
2
1
import { BrowserWindow } from 'electron' ;
2
+ import { exportedForTests } from '_main/main' ;
3
3
4
4
jest . mock ( 'electron' , ( ) => ( {
5
5
app : {
You can’t perform that action at this time.
0 commit comments