wip
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
import { describe, test, expect, beforeEach, afterEach } from 'vitest';
|
||||
import { ElectronTestHarness } from './helpers/electron-test-harness';
|
||||
import { ConsoleMonitor } from './helpers/console-monitor';
|
||||
import { IPCVerifier } from './helpers/ipc-verifier';
|
||||
@@ -20,16 +20,16 @@ import { IPCVerifier } from './helpers/ipc-verifier';
|
||||
* - "ReferenceError: __dirname is not defined"
|
||||
*/
|
||||
|
||||
test.describe('Electron App Smoke Tests', () => {
|
||||
describe('Electron App Smoke Tests', () => {
|
||||
let harness: ElectronTestHarness;
|
||||
let monitor: ConsoleMonitor;
|
||||
|
||||
test.beforeEach(async () => {
|
||||
beforeEach(async () => {
|
||||
harness = new ElectronTestHarness();
|
||||
monitor = new ConsoleMonitor();
|
||||
});
|
||||
|
||||
test.afterEach(async () => {
|
||||
afterEach(async () => {
|
||||
await harness.close();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
import { describe, test, expect, beforeEach, afterEach } from 'vitest';
|
||||
import { execSync } from 'child_process';
|
||||
|
||||
/**
|
||||
@@ -12,7 +12,7 @@ import { execSync } from 'child_process';
|
||||
* RED Phase: This test MUST FAIL due to externalized modules
|
||||
*/
|
||||
|
||||
test.describe('Electron Build Smoke Tests', () => {
|
||||
describe('Electron Build Smoke Tests', () => {
|
||||
test('should build Electron app without browser context errors', () => {
|
||||
// When: Building the Electron companion app
|
||||
let buildOutput: string;
|
||||
|
||||
Reference in New Issue
Block a user