Refactor infra tests, clean E2E step suites, and fix TS in tests
This commit is contained in:
@@ -5,7 +5,7 @@ import { CheckAuthenticationUseCase } from '../../packages/application/use-cases
|
||||
import { InitiateLoginUseCase } from '../../packages/application/use-cases/InitiateLoginUseCase';
|
||||
import { ClearSessionUseCase } from '../../packages/application/use-cases/ClearSessionUseCase';
|
||||
import { ConfirmCheckoutUseCase } from '../../packages/application/use-cases/ConfirmCheckoutUseCase';
|
||||
import { PlaywrightAutomationAdapter } from '../../packages/infrastructure/adapters/automation/PlaywrightAutomationAdapter';
|
||||
import { PlaywrightAutomationAdapter } from 'packages/infrastructure/adapters/automation';
|
||||
import { InMemorySessionRepository } from '../../packages/infrastructure/repositories/InMemorySessionRepository';
|
||||
import { NoOpLogAdapter } from '../../packages/infrastructure/adapters/logging/NoOpLogAdapter';
|
||||
|
||||
@@ -23,7 +23,7 @@ vi.mock('electron', () => ({
|
||||
|
||||
describe('Electron DIContainer Smoke Tests', () => {
|
||||
beforeEach(() => {
|
||||
DIContainer['instance'] = undefined;
|
||||
(DIContainer as any).instance = undefined;
|
||||
});
|
||||
|
||||
it('DIContainer initializes without errors', () => {
|
||||
|
||||
Reference in New Issue
Block a user