The test imports teams.ts which transitively requires electron runtime
(via NotificationManager). Add vi.mock('electron') so tests pass in CI
where electron binary is not installed.
|
||
|---|---|---|
| .. | ||
| main | ||
| mocks | ||
| renderer | ||
| shared/utils | ||
| setup.ts | ||
The test imports teams.ts which transitively requires electron runtime
(via NotificationManager). Add vi.mock('electron') so tests pass in CI
where electron binary is not installed.
|
||
|---|---|---|
| .. | ||
| main | ||
| mocks | ||
| renderer | ||
| shared/utils | ||
| setup.ts | ||