353 lines
58 KiB
Plaintext
353 lines
58 KiB
Plaintext
|
|
> gridpilot@0.1.0 typecheck
|
|
> tsc --noEmit
|
|
|
|
packages/identity/domain/entities/SponsorAccount.ts(41,5): error TS2412: Type 'Date | undefined' is not assignable to type 'Date' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
|
|
Type 'undefined' is not assignable to type 'Date'.
|
|
tests/integration/infrastructure/automation/OverlayLifecycle.integration.test.ts(54,7): error TS2739: Type 'LoggerLike' is missing the following properties from type 'LoggerPort': fatal, child, flush
|
|
tests/integration/infrastructure/automation/OverlayLifecycle.integration.test.ts(67,12): error TS18048: 'first' is possibly 'undefined'.
|
|
tests/integration/infrastructure/automation/OverlayLifecycle.integration.test.ts(68,12): error TS18048: 'first' is possibly 'undefined'.
|
|
tests/integration/infrastructure/automation/OverlayLifecycle.integration.test.ts(87,12): error TS2532: Object is possibly 'undefined'.
|
|
tests/integration/infrastructure/automation/OverlayLifecycle.integration.test.ts(88,12): error TS2532: Object is possibly 'undefined'.
|
|
tests/integration/infrastructure/automation/OverlayLifecycle.integration.test.ts(105,7): error TS2739: Type 'LoggerLike' is missing the following properties from type 'LoggerPort': fatal, child, flush
|
|
tests/integration/infrastructure/automation/OverlayLifecycle.integration.test.ts(112,12): error TS18048: 'ev' is possibly 'undefined'.
|
|
tests/integration/infrastructure/automation/OverlayLifecycle.integration.test.ts(113,12): error TS18048: 'ev' is possibly 'undefined'.
|
|
tests/integration/infrastructure/FixtureServer.integration.test.ts(21,15): error TS2554: Expected 2-3 arguments, but got 1.
|
|
tests/integration/infrastructure/FixtureServer.integration.test.ts(86,35): error TS2554: Expected 2-3 arguments, but got 1.
|
|
tests/integration/infrastructure/FixtureServer.integration.test.ts(108,26): error TS2554: Expected 2-3 arguments, but got 1.
|
|
tests/integration/infrastructure/InMemorySessionRepository.test.ts(290,14): error TS2532: Object is possibly 'undefined'.
|
|
tests/integration/interface/companion/companion-start-automation.browser-mode-refresh.integration.test.ts(61,42): error TS2339: Property 'browserAutomation' does not exist on type 'AutomationEnginePort'.
|
|
tests/integration/interface/companion/companion-start-automation.browser-mode-refresh.integration.test.ts(70,44): error TS2339: Property 'browserAutomation' does not exist on type 'AutomationEnginePort'.
|
|
tests/integration/interface/companion/companion-start-automation.browser-mode-refresh.integration.test.ts(100,35): error TS2352: Conversion of type 'AutomationEnginePort' to type '{ browserAutomation: unknown; }' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
|
Property 'browserAutomation' is missing in type 'AutomationEnginePort' but required in type '{ browserAutomation: unknown; }'.
|
|
tests/integration/interface/companion/companion-start-automation.browser-not-connected.integration.test.ts(77,12): error TS18047: 'session' is possibly 'null'.
|
|
tests/integration/interface/companion/companion-start-automation.browser-not-connected.integration.test.ts(77,12): error TS18048: 'session.state' is possibly 'undefined'.
|
|
tests/integration/interface/companion/companion-start-automation.browser-not-connected.integration.test.ts(78,19): error TS18047: 'session' is possibly 'null'.
|
|
tests/integration/interface/renderer/renderer-overlay-lifecycle.integration.test.ts(54,7): error TS2739: Type 'Console' is missing the following properties from type 'LoggerPort': fatal, child, flush
|
|
tests/integration/interface/renderer/renderer-overlay-lifecycle.integration.test.ts(107,26): error TS2339: Property 'actionId' does not exist on type 'RendererOverlayState'.
|
|
Property 'actionId' does not exist on type '{ status: "idle"; }'.
|
|
tests/integration/interface/renderer/renderer-overlay-lifecycle.integration.test.ts(116,7): error TS2739: Type 'Console' is missing the following properties from type 'LoggerPort': fatal, child, flush
|
|
tests/integration/interface/renderer/renderer-overlay-lifecycle.integration.test.ts(144,26): error TS2339: Property 'actionId' does not exist on type 'RendererOverlayState'.
|
|
Property 'actionId' does not exist on type '{ status: "idle"; }'.
|
|
tests/integration/interface/renderer/renderer-overlay.integration.test.ts(12,7): error TS2739: Type 'Console' is missing the following properties from type 'LoggerPort': fatal, child, flush
|
|
tests/smoke/browser-mode-toggle.smoke.test.ts(6,15): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/smoke/electron-init.smoke.test.ts(26,66): error TS2339: Property 'instance' does not exist on type 'never'.
|
|
The intersection 'typeof DIContainer & { instance?: unknown; }' was reduced to 'never' because property 'instance' exists in multiple constituents and is private in some.
|
|
tests/smoke/helpers/console-monitor.ts(55,24): error TS2379: Argument of type '{ type: "pageerror"; message: string; location: string | undefined; timestamp: Date; }' is not assignable to parameter of type 'ConsoleError' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'location' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
tests/smoke/helpers/electron-test-harness.ts(31,7): error TS2322: Type '{ NODE_ENV: string; NEXT_PUBLIC_GRIDPILOT_MODE?: "pre-launch" | "alpha"; NEXT_PUBLIC_X_URL?: string; TZ?: string | undefined; }' is not assignable to type '{ [key: string]: string; }'.
|
|
Property 'TZ' is incompatible with index signature.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
tests/smoke/helpers/ipc-verifier.ts(64,7): error TS2375: Type '{ channel: string; success: boolean; error: string | undefined; duration: number; }' is not assignable to type 'IPCTestResult' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'error' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
tests/smoke/helpers/ipc-verifier.ts(117,7): error TS2375: Type '{ channel: string; success: boolean; error: string | undefined; duration: number; }' is not assignable to type 'IPCTestResult' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'error' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
tests/smoke/helpers/ipc-verifier.ts(176,7): error TS2375: Type '{ channel: string; success: boolean; error: string | undefined; duration: number; }' is not assignable to type 'IPCTestResult' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'error' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
tests/smoke/playwright-init.smoke.test.ts(42,30): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: "loaded", listener: Function): Process', gave the following error.
|
|
Argument of type '"unhandledRejection"' is not assignable to parameter of type '"loaded"'.
|
|
Overload 2 of 2, '(event: "loaded", listener: Function): Process', gave the following error.
|
|
Argument of type '"unhandledRejection"' is not assignable to parameter of type '"loaded"'.
|
|
tests/smoke/playwright-init.smoke.test.ts(49,17): error TS2554: Expected 2-3 arguments, but got 1.
|
|
tests/smoke/playwright-init.smoke.test.ts(58,15): error TS2554: Expected 2-3 arguments, but got 1.
|
|
tests/smoke/playwright-init.smoke.test.ts(73,15): error TS2554: Expected 2-3 arguments, but got 1.
|
|
tests/smoke/playwright-init.smoke.test.ts(86,24): error TS2554: Expected 2-3 arguments, but got 1.
|
|
tests/smoke/playwright-init.smoke.test.ts(91,24): error TS2554: Expected 2-3 arguments, but got 1.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsEntityId.test.ts(3,1): error TS2593: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsEntityId.test.ts(4,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsEntityId.test.ts(7,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsEntityId.test.ts(10,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsEntityId.test.ts(13,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsEntityId.test.ts(16,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsEntityId.test.ts(17,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsEntityId.test.ts(18,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsEntityId.test.ts(21,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsEntityId.test.ts(26,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsEntityId.test.ts(27,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsSessionId.test.ts(3,1): error TS2593: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsSessionId.test.ts(4,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsSessionId.test.ts(7,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsSessionId.test.ts(10,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsSessionId.test.ts(13,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsSessionId.test.ts(16,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsSessionId.test.ts(17,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsSessionId.test.ts(18,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsSessionId.test.ts(21,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsSessionId.test.ts(26,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/AnalyticsSessionId.test.ts(27,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/PageViewId.test.ts(3,1): error TS2593: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/PageViewId.test.ts(4,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/PageViewId.test.ts(7,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/PageViewId.test.ts(10,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/PageViewId.test.ts(13,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/PageViewId.test.ts(16,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/PageViewId.test.ts(17,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/PageViewId.test.ts(18,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/PageViewId.test.ts(21,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/analytics/domain/value-objects/PageViewId.test.ts(26,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/analytics/domain/value-objects/PageViewId.test.ts(27,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/application/services/OverlaySyncService.test.ts(29,7): error TS2739: Type 'Console' is missing the following properties from type 'LoggerPort': fatal, child, flush
|
|
tests/unit/application/services/OverlaySyncService.timeout.test.ts(16,10): error TS2345: Argument of type '{ type: string; actionId: string; timestamp: number; }' is not assignable to parameter of type 'AutomationEvent'.
|
|
Types of property 'type' are incompatible.
|
|
Type 'string' is not assignable to type '"panel-attached" | "modal-opened" | "action-started" | "action-complete" | "action-failed" | "panel-missing"'.
|
|
tests/unit/application/services/OverlaySyncService.timeout.test.ts(26,7): error TS2739: Type 'Console' is missing the following properties from type 'LoggerPort': fatal, child, flush
|
|
tests/unit/application/use-cases/CheckAuthenticationUseCase.test.ts(6,45): error TS2307: Cannot find module '../../../../packages/automation/application/ports/IAuthenticationService' or its corresponding type declarations.
|
|
tests/unit/application/use-cases/CompleteRaceCreationUseCase.test.ts(6,39): error TS2307: Cannot find module '../../../../packages/automation/application/ports/ICheckoutService' or its corresponding type declarations.
|
|
tests/unit/application/use-cases/ConfirmCheckoutUseCase.enhanced.test.ts(7,39): error TS2307: Cannot find module '@gridpilot/automation/application/ports/ICheckoutService' or its corresponding type declarations.
|
|
tests/unit/application/use-cases/ConfirmCheckoutUseCase.enhanced.test.ts(8,48): error TS2307: Cannot find module '@gridpilot/automation/application/ports/ICheckoutConfirmationPort' or its corresponding type declarations.
|
|
tests/unit/application/use-cases/ConfirmCheckoutUseCase.test.ts(4,48): error TS2307: Cannot find module '../../../../packages/automation/application/ports/ICheckoutService' or its corresponding type declarations.
|
|
tests/unit/application/use-cases/ConfirmCheckoutUseCase.test.ts(5,43): error TS2307: Cannot find module '../../../../packages/automation/application/ports/ICheckoutConfirmationPort' or its corresponding type declarations.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(26,7): error TS2420: Class 'InMemorySeasonRepository' incorrectly implements interface 'ISeasonRepository'.
|
|
Type 'InMemorySeasonRepository' is missing the following properties from type 'ISeasonRepository': create, add, update, listByLeague, listActiveByLeague
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(42,7): error TS2420: Class 'InMemoryLeagueScoringConfigRepository' incorrectly implements interface 'ILeagueScoringConfigRepository'.
|
|
Property 'save' is missing in type 'InMemoryLeagueScoringConfigRepository' but required in type 'ILeagueScoringConfigRepository'.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(113,7): error TS2420: Class 'InMemoryResultRepository' incorrectly implements interface 'IResultRepository'.
|
|
Type 'InMemoryResultRepository' is missing the following properties from type 'IResultRepository': findById, findAll, findByDriverId, findByDriverIdAndLeagueId, and 7 more.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(125,7): error TS2420: Class 'InMemoryPenaltyRepository' incorrectly implements interface 'IPenaltyRepository'.
|
|
Type 'InMemoryPenaltyRepository' is missing the following properties from type 'IPenaltyRepository': findById, findByDriverId, findByProtestId, findPending, and 4 more.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(133,43): error TS2339: Property 'leagueId' does not exist on type 'Penalty'.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(141,16): error TS2339: Property 'leagueId' does not exist on type 'Penalty'.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(260,7): error TS2345: Argument of type 'InMemorySeasonRepository' is not assignable to parameter of type 'ISeasonRepository'.
|
|
Type 'InMemorySeasonRepository' is missing the following properties from type 'ISeasonRepository': create, add, update, listByLeague, listActiveByLeague
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(270,11): error TS2740: Type '{ id: string; leagueId: string; gameId: string; name: string; status: "active"; year: number; order: number; startDate: Date; endDate: Date; }' is missing the following properties from type 'Season': schedule, scoringConfig, dropPolicy, stewardingConfig, and 14 more.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(295,7): error TS2740: Type '{ id: string; leagueId: string; scheduledAt: Date; track: string; car: string; sessionType: "race"; status: "completed"; }' is missing the following properties from type 'Race': trackId, carId, strengthOfField, registeredCount, and 8 more.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(304,7): error TS2740: Type '{ id: string; leagueId: string; scheduledAt: Date; track: string; car: string; sessionType: "race"; status: "completed"; }' is missing the following properties from type 'Race': trackId, carId, strengthOfField, registeredCount, and 8 more.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(313,7): error TS2740: Type '{ id: string; leagueId: string; scheduledAt: Date; track: string; car: string; sessionType: "race"; status: "completed"; }' is missing the following properties from type 'Race': trackId, carId, strengthOfField, registeredCount, and 8 more.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(322,7): error TS2740: Type '{ id: string; leagueId: string; scheduledAt: Date; track: string; car: string; sessionType: "race"; status: "completed"; }' is missing the following properties from type 'Race': trackId, carId, strengthOfField, registeredCount, and 8 more.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(331,7): error TS2740: Type '{ id: string; leagueId: string; scheduledAt: Date; track: string; car: string; sessionType: "race"; status: "completed"; }' is missing the following properties from type 'Race': trackId, carId, strengthOfField, registeredCount, and 8 more.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(340,7): error TS2740: Type '{ id: string; leagueId: string; scheduledAt: Date; track: string; car: string; sessionType: "race"; status: "completed"; }' is missing the following properties from type 'Race': trackId, carId, strengthOfField, registeredCount, and 8 more.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(395,15): error TS2739: Type '{ id: string; raceId: string; driverId: string; position: number; fastestLap: number; incidents: number; startPosition: number; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(427,12): error TS18048: 'leader' is possibly 'undefined'.
|
|
tests/unit/application/use-cases/RecalculateChampionshipStandingsUseCase.test.ts(428,12): error TS18048: 'leader' is possibly 'undefined'.
|
|
tests/unit/application/use-cases/StartAutomationSession.test.ts(3,35): error TS2307: Cannot find module '../../../../packages/automation/application/ports/IAutomationEngine' or its corresponding type declarations.
|
|
tests/unit/application/use-cases/StartAutomationSession.test.ts(4,35): error TS2307: Cannot find module '../../../../packages/automation/application/ports/IScreenAutomation' or its corresponding type declarations.
|
|
tests/unit/application/use-cases/StartAutomationSession.test.ts(5,36): error TS2307: Cannot find module '../../../../packages/automation/application/ports/ISessionRepository' or its corresponding type declarations.
|
|
tests/unit/application/use-cases/VerifyAuthenticatedPageUseCase.test.ts(3,40): error TS2307: Cannot find module '../../../../packages/automation/application/ports/IAuthenticationService' or its corresponding type declarations.
|
|
tests/unit/domain/services/EventScoringService.test.ts(11,39): error TS2307: Cannot find module '@gridpilot/racing/domain/value-objects/ChampionshipType' or its corresponding type declarations.
|
|
tests/unit/domain/services/EventScoringService.test.ts(86,7): error TS2739: Type '{ id: string; raceId: string; driverId: string; position: number; fastestLap: number; incidents: number; startPosition: number; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/domain/services/EventScoringService.test.ts(95,7): error TS2739: Type '{ id: string; raceId: string; driverId: string; position: number; fastestLap: number; incidents: number; startPosition: number; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/domain/services/EventScoringService.test.ts(104,7): error TS2739: Type '{ id: string; raceId: string; driverId: string; position: number; fastestLap: number; incidents: number; startPosition: number; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/domain/services/EventScoringService.test.ts(113,7): error TS2739: Type '{ id: string; raceId: string; driverId: string; position: number; fastestLap: number; incidents: number; startPosition: number; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/domain/services/EventScoringService.test.ts(122,7): error TS2739: Type '{ id: string; raceId: string; driverId: string; position: number; fastestLap: number; incidents: number; startPosition: number; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/domain/services/EventScoringService.test.ts(182,7): error TS2739: Type '{ driverId: string; position: number; startPosition: number; fastestLap: number; raceId: "race-1"; incidents: 0; id: string; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/domain/services/EventScoringService.test.ts(190,7): error TS2739: Type '{ driverId: string; position: number; startPosition: number; fastestLap: number; raceId: "race-1"; incidents: 0; id: string; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/domain/services/EventScoringService.test.ts(198,7): error TS2739: Type '{ driverId: string; position: number; startPosition: number; fastestLap: number; raceId: "race-1"; incidents: 0; id: string; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/domain/services/EventScoringService.test.ts(223,7): error TS2739: Type '{ driverId: string; position: number; startPosition: number; fastestLap: number; raceId: "race-1"; incidents: 0; id: string; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/domain/services/EventScoringService.test.ts(231,7): error TS2739: Type '{ driverId: string; position: number; startPosition: number; fastestLap: number; raceId: "race-1"; incidents: 0; id: string; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/domain/services/EventScoringService.test.ts(239,7): error TS2739: Type '{ driverId: string; position: number; startPosition: number; fastestLap: number; raceId: "race-1"; incidents: 0; id: string; }' is missing the following properties from type 'Result': getPositionChange, isPodium, isClean
|
|
tests/unit/domain/services/ScheduleCalculator.test.ts(78,16): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/domain/services/ScheduleCalculator.test.ts(80,16): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/domain/services/ScheduleCalculator.test.ts(141,16): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/domain/services/ScheduleCalculator.test.ts(143,16): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/domain/services/ScheduleCalculator.test.ts(145,16): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/domain/services/ScheduleCalculator.test.ts(147,16): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/domain/services/ScheduleCalculator.test.ts(168,16): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/domain/value-objects/CheckoutConfirmation.test.ts(22,48): error TS2345: Argument of type '"invalid"' is not assignable to parameter of type 'CheckoutConfirmationDecision'.
|
|
tests/unit/domain/value-objects/SessionState.test.ts(47,40): error TS2345: Argument of type '"INVALID"' is not assignable to parameter of type 'SessionStateValue'.
|
|
tests/unit/domain/value-objects/SessionState.test.ts(51,40): error TS2345: Argument of type '""' is not assignable to parameter of type 'SessionStateValue'.
|
|
tests/unit/infrastructure/adapters/PlaywrightAuthSessionService.initiateLogin.browserMode.test.ts(7,30): error TS2307: Cannot find module '../../../../packages/automation/application/ports/ILogger' or its corresponding type declarations.
|
|
tests/unit/infrastructure/adapters/PlaywrightAuthSessionService.initiateLogin.browserMode.test.ts(110,23): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/infrastructure/adapters/PlaywrightAuthSessionService.verifyPageAuthentication.test.ts(6,30): error TS2307: Cannot find module '../../../../packages/automation/application/ports/ILogger' or its corresponding type declarations.
|
|
tests/unit/infrastructure/adapters/SessionCookieStore.test.ts(9,19): error TS2554: Expected 2 arguments, but got 1.
|
|
tests/unit/infrastructure/adapters/SessionCookieStore.test.ts(198,14): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/infrastructure/adapters/SessionCookieStore.test.ts(229,14): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/infrastructure/adapters/SessionCookieStore.test.ts(260,14): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/infrastructure/AutomationConfig.test.ts(20,21): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/AutomationConfig.test.ts(29,21): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/AutomationConfig.test.ts(38,16): error TS2704: The operand of a 'delete' operator cannot be a read-only property.
|
|
tests/unit/infrastructure/AutomationConfig.test.ts(47,21): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/AutomationConfig.test.ts(56,21): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/AutomationConfig.test.ts(107,21): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/AutomationConfig.test.ts(119,16): error TS2704: The operand of a 'delete' operator cannot be a read-only property.
|
|
tests/unit/infrastructure/AutomationConfig.test.ts(146,21): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/AutomationConfig.test.ts(231,21): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/AutomationConfig.test.ts(242,21): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/AutomationConfig.test.ts(252,21): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(15,12): error TS2704: The operand of a 'delete' operator cannot be a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(24,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(34,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(45,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(56,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(69,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(81,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(91,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(104,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(114,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(127,14): error TS2704: The operand of a 'delete' operator cannot be a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(137,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(149,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(158,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(167,19): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/infrastructure/config/BrowserModeConfig.test.ts(176,14): error TS2704: The operand of a 'delete' operator cannot be a read-only property.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(3,1): error TS2593: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(4,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(5,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(6,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(9,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(11,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(14,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(15,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(18,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(19,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(20,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(23,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(24,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(25,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(28,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(33,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/media/domain/value-objects/MediaUrl.test.ts(34,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(4,1): error TS2593: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(5,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(8,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(11,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(14,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(17,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(18,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(19,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(25,9): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(30,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(35,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/NotificationId.test.ts(36,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(3,1): error TS2593: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(4,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(6,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(7,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(10,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(12,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(13,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(16,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(17,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(18,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(21,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(22,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(25,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(27,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(28,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(29,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(30,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(33,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(35,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(36,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(37,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(38,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(39,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(40,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(43,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(48,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/notifications/domain/value-objects/QuietHours.test.ts(49,5): error TS2304: Cannot find name 'expect'.
|
|
tests/unit/racing-application/DashboardOverviewUseCase.test.ts(10,7): error TS2420: Class 'FakeDashboardOverviewPresenter' incorrectly implements interface 'IDashboardOverviewPresenter'.
|
|
Property 'reset' is missing in type 'FakeDashboardOverviewPresenter' but required in type 'Presenter<DashboardOverviewViewModel, DashboardOverviewViewModel>'.
|
|
tests/unit/racing-application/DashboardOverviewUseCase.test.ts(204,7): error TS2554: Expected 11 arguments, but got 12.
|
|
tests/unit/racing-application/DashboardOverviewUseCase.test.ts(208,19): error TS2554: Expected 2 arguments, but got 1.
|
|
tests/unit/racing-application/DashboardOverviewUseCase.test.ts(392,7): error TS2554: Expected 11 arguments, but got 12.
|
|
tests/unit/racing-application/DashboardOverviewUseCase.test.ts(396,19): error TS2554: Expected 2 arguments, but got 1.
|
|
tests/unit/racing-application/DashboardOverviewUseCase.test.ts(499,7): error TS2554: Expected 11 arguments, but got 12.
|
|
tests/unit/racing-application/DashboardOverviewUseCase.test.ts(503,19): error TS2554: Expected 2 arguments, but got 1.
|
|
tests/unit/racing-application/MembershipUseCases.test.ts(112,33): error TS2345: Argument of type '{ leagueId: string; driverId: string; role: "member"; status: "active"; joinedAt: Date; }' is not assignable to parameter of type 'LeagueMembership'.
|
|
Property 'id' is missing in type '{ leagueId: string; driverId: string; role: "member"; status: "active"; joinedAt: Date; }' but required in type 'LeagueMembership'.
|
|
tests/unit/racing-application/RaceResultsUseCases.test.ts(20,7): error TS2420: Class 'FakeRaceResultsDetailPresenter' incorrectly implements interface 'IRaceResultsDetailPresenter'.
|
|
Property 'reset' is missing in type 'FakeRaceResultsDetailPresenter' but required in type 'Presenter<RaceResultsDetailViewModel, RaceResultsDetailViewModel>'.
|
|
tests/unit/racing-application/RaceResultsUseCases.test.ts(113,7): error TS2345: Argument of type '{ findById: (id: string) => Promise<Race | null>; }' is not assignable to parameter of type 'IRaceRepository'.
|
|
Type '{ findById: (id: string) => Promise<Race | null>; }' is missing the following properties from type 'IRaceRepository': findAll, findByLeagueId, findUpcomingByLeagueId, findCompletedByLeagueId, and 6 more.
|
|
tests/unit/racing-application/RaceResultsUseCases.test.ts(230,7): error TS2345: Argument of type '{ findById: (id: string) => Promise<Race | null>; }' is not assignable to parameter of type 'IRaceRepository'.
|
|
Type '{ findById: (id: string) => Promise<Race | null>; }' is missing the following properties from type 'IRaceRepository': findAll, findByLeagueId, findUpcomingByLeagueId, findCompletedByLeagueId, and 6 more.
|
|
tests/unit/racing-application/RaceResultsUseCases.test.ts(353,7): error TS2554: Expected 5 arguments, but got 6.
|
|
tests/unit/racing-application/RaceResultsUseCases.test.ts(357,19): error TS2554: Expected 2 arguments, but got 1.
|
|
tests/unit/racing-application/RaceResultsUseCases.test.ts(363,12): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/racing-application/RaceResultsUseCases.test.ts(364,12): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/racing-application/RaceResultsUseCases.test.ts(463,7): error TS2554: Expected 5 arguments, but got 6.
|
|
tests/unit/racing-application/RaceResultsUseCases.test.ts(467,19): error TS2554: Expected 2 arguments, but got 1.
|
|
tests/unit/racing-application/RaceResultsUseCases.test.ts(528,7): error TS2554: Expected 5 arguments, but got 6.
|
|
tests/unit/racing-application/RaceResultsUseCases.test.ts(532,19): error TS2554: Expected 2 arguments, but got 1.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(14,3): error TS2305: Module '"@gridpilot/racing/domain/entities/Team"' has no exported member 'TeamMembership'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(15,3): error TS2305: Module '"@gridpilot/racing/domain/entities/Team"' has no exported member 'TeamMembershipStatus'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(16,3): error TS2305: Module '"@gridpilot/racing/domain/entities/Team"' has no exported member 'TeamRole'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(17,3): error TS2305: Module '"@gridpilot/racing/domain/entities/Team"' has no exported member 'TeamJoinRequest'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(171,3): error TS2416: Property 'present' in type 'TestDriverRegistrationStatusPresenter' is not assignable to the same property in base type 'IDriverRegistrationStatusPresenter'.
|
|
Type '(isRegistered: boolean, raceId: string, driverId: string) => void' is not assignable to type '(isRegistered: boolean, raceId: string, driverId: string) => DriverRegistrationStatusViewModel'.
|
|
Type 'void' is not assignable to type 'DriverRegistrationStatusViewModel'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(183,3): error TS2416: Property 'present' in type 'TestRaceRegistrationsPresenter' is not assignable to the same property in base type 'IRaceRegistrationsPresenter'.
|
|
Type '(raceIdOrDriverIds: string | string[], driverIds?: string[] | undefined) => void' is not assignable to type '(input: RaceRegistrationsResultDTO) => void'.
|
|
Types of parameters 'raceIdOrDriverIds' and 'input' are incompatible.
|
|
Type 'RaceRegistrationsResultDTO' is not assignable to type 'string | string[]'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(238,7): error TS2420: Class 'InMemoryTeamMembershipRepository' incorrectly implements interface 'ITeamMembershipRepository'.
|
|
Property 'countByTeamId' is missing in type 'InMemoryTeamMembershipRepository' but required in type 'ITeamMembershipRepository'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(342,7): error TS2345: Argument of type 'TestDriverRegistrationStatusPresenter' is not assignable to parameter of type 'IDriverRegistrationStatusPresenter'.
|
|
Property 'getViewModel' is missing in type 'TestDriverRegistrationStatusPresenter' but required in type 'IDriverRegistrationStatusPresenter'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(347,7): error TS2554: Expected 1 arguments, but got 2.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(365,32): error TS2554: Expected 2 arguments, but got 1.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(392,32): error TS2554: Expected 2 arguments, but got 1.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(441,32): error TS2339: Property 'specialization' does not exist on type '{ id: string; name: string; tag: string; description: string; ownerId: string; leagues: string[]; createdAt: Date; memberCount: number; }'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(442,24): error TS2339: Property 'region' does not exist on type '{ id: string; name: string; tag: string; description: string; ownerId: string; leagues: string[]; createdAt: Date; memberCount: number; }'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(443,27): error TS2339: Property 'languages' does not exist on type '{ id: string; name: string; tag: string; description: string; ownerId: string; leagues: string[]; createdAt: Date; memberCount: number; }'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(461,5): error TS2416: Property 'present' in type 'TestTeamDetailsPresenter' is not assignable to the same property in base type 'ITeamDetailsPresenter'.
|
|
Type '(team: any, membership: any, driverId: string) => void' is not assignable to type '(input: TeamDetailsResultDTO) => void'.
|
|
Target signature provides too few arguments. Expected 3 or more, but got 1.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(491,49): error TS2367: This comparison appears to be unintentional because the types 'TeamRole' and '"member"' have no overlap.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(494,9): error TS2322: Type '{ driverId: string; driverName: string; role: TeamRole; joinedAt: string; isActive: boolean; avatarUrl: string; }[]' is not assignable to type 'TeamMemberViewModel[]'.
|
|
Type '{ driverId: string; driverName: string; role: TeamRole; joinedAt: string; isActive: boolean; avatarUrl: string; }' is not assignable to type 'TeamMemberViewModel'.
|
|
Types of property 'role' are incompatible.
|
|
Type 'TeamRole' is not assignable to type '"owner" | "member" | "manager"'.
|
|
Type '"driver"' is not assignable to type '"owner" | "member" | "manager"'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(538,9): error TS2322: Type '{ requestId: string; driverId: string; driverName: string; teamId: string; status: string; requestedAt: string; avatarUrl: string; }[]' is not assignable to type 'TeamJoinRequestViewModel[]'.
|
|
Type '{ requestId: string; driverId: string; driverName: string; teamId: string; status: string; requestedAt: string; avatarUrl: string; }' is not assignable to type 'TeamJoinRequestViewModel'.
|
|
Types of property 'status' are incompatible.
|
|
Type 'string' is not assignable to type '"pending" | "rejected" | "approved"'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(574,32): error TS2339: Property 'specialization' does not exist on type 'Team'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(575,24): error TS2339: Property 'region' does not exist on type 'Team'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(576,27): error TS2339: Property 'languages' does not exist on type 'Team'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(579,11): error TS2322: Type 'TeamRole' is not assignable to type '"owner" | "member" | "manager"'.
|
|
Type '"driver"' is not assignable to type '"owner" | "member" | "manager"'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(603,50): error TS2345: Argument of type 'InMemoryTeamMembershipRepository' is not assignable to parameter of type 'ITeamMembershipRepository'.
|
|
Property 'countByTeamId' is missing in type 'InMemoryTeamMembershipRepository' but required in type 'ITeamMembershipRepository'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(604,46): error TS2345: Argument of type 'InMemoryTeamMembershipRepository' is not assignable to parameter of type 'ITeamMembershipRepository'.
|
|
Property 'countByTeamId' is missing in type 'InMemoryTeamMembershipRepository' but required in type 'ITeamMembershipRepository'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(605,38): error TS2345: Argument of type 'InMemoryTeamMembershipRepository' is not assignable to parameter of type 'ITeamMembershipRepository'.
|
|
Property 'countByTeamId' is missing in type 'InMemoryTeamMembershipRepository' but required in type 'ITeamMembershipRepository'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(606,53): error TS2345: Argument of type 'InMemoryTeamMembershipRepository' is not assignable to parameter of type 'ITeamMembershipRepository'.
|
|
Property 'countByTeamId' is missing in type 'InMemoryTeamMembershipRepository' but required in type 'ITeamMembershipRepository'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(607,51): error TS2345: Argument of type 'InMemoryTeamMembershipRepository' is not assignable to parameter of type 'ITeamMembershipRepository'.
|
|
Property 'countByTeamId' is missing in type 'InMemoryTeamMembershipRepository' but required in type 'ITeamMembershipRepository'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(608,57): error TS2345: Argument of type 'InMemoryTeamMembershipRepository' is not assignable to parameter of type 'ITeamMembershipRepository'.
|
|
Property 'countByTeamId' is missing in type 'InMemoryTeamMembershipRepository' but required in type 'ITeamMembershipRepository'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(614,7): error TS2554: Expected 2 arguments, but got 3.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(621,7): error TS2554: Expected 2 arguments, but got 3.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(629,7): error TS2345: Argument of type 'InMemoryTeamMembershipRepository' is not assignable to parameter of type 'ITeamMembershipRepository'.
|
|
Property 'countByTeamId' is missing in type 'InMemoryTeamMembershipRepository' but required in type 'ITeamMembershipRepository'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(637,7): error TS2345: Argument of type 'InMemoryTeamMembershipRepository' is not assignable to parameter of type 'ITeamMembershipRepository'.
|
|
Property 'countByTeamId' is missing in type 'InMemoryTeamMembershipRepository' but required in type 'ITeamMembershipRepository'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(646,7): error TS2345: Argument of type 'InMemoryTeamMembershipRepository' is not assignable to parameter of type 'ITeamMembershipRepository'.
|
|
Property 'countByTeamId' is missing in type 'InMemoryTeamMembershipRepository' but required in type 'ITeamMembershipRepository'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(747,41): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ teamId: string; driverId: string; }'.
|
|
tests/unit/racing-application/RegistrationAndTeamUseCases.test.ts(765,40): error TS2341: Property 'viewModel' is private and only accessible within class 'TestDriverTeamPresenter'.
|
|
tests/unit/structure/packages/PackageDependencies.test.ts(78,5): error TS2322: Type 'string | undefined' is not assignable to type 'string | null'.
|
|
Type 'undefined' is not assignable to type 'string | null'.
|
|
tests/unit/structure/packages/PackageDependencies.test.ts(84,5): error TS2322: Type 'string | undefined' is not assignable to type 'string | null'.
|
|
Type 'undefined' is not assignable to type 'string | null'.
|
|
tests/unit/website/AlphaNav.test.tsx(68,9): error TS2322: Type '{ children: Element; value: { session: null; loading: boolean; login: () => void; logout: () => Promise<void>; refreshSession: () => Promise<void>; }; }' is not assignable to type 'IntrinsicAttributes & AuthProviderProps'.
|
|
Property 'value' does not exist on type 'IntrinsicAttributes & AuthProviderProps'.
|
|
tests/unit/website/AlphaNav.test.tsx(90,9): error TS2322: Type '{ children: Element; value: { session: { user: { id: string; }; }; loading: boolean; login: () => void; logout: () => Promise<void>; refreshSession: () => Promise<void>; }; }' is not assignable to type 'IntrinsicAttributes & AuthProviderProps'.
|
|
Property 'value' does not exist on type 'IntrinsicAttributes & AuthProviderProps'.
|
|
tests/unit/website/auth/IracingRoutes.test.ts(38,11): error TS2488: Type 'any[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator.
|
|
tests/unit/website/getAppMode.test.ts(12,17): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/website/getAppMode.test.ts(17,17): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/website/getAppMode.test.ts(45,26): error TS2304: Cannot find name 'vi'.
|
|
tests/unit/website/getAppMode.test.ts(47,5): error TS2322: Type '"invalid-mode"' is not assignable to type '"pre-launch" | "alpha"'.
|
|
tests/unit/website/getAppMode.test.ts(58,17): error TS2540: Cannot assign to 'NODE_ENV' because it is a read-only property.
|
|
tests/unit/website/getAppMode.test.ts(59,5): error TS2322: Type '"invalid-mode"' is not assignable to type '"pre-launch" | "alpha"'.
|
|
tests/unit/website/leagues/CreateLeaguePage.wizardStep.test.tsx(106,21): error TS2532: Object is possibly 'undefined'.
|
|
tests/unit/website/signupRoute.test.ts(9,34): error TS2558: Expected 0-1 type arguments, but got 2.
|
|
tests/unit/website/signupRoute.test.ts(10,31): error TS2558: Expected 0-1 type arguments, but got 2.
|
|
tests/unit/website/signupRoute.test.ts(13,43): error TS2345: Argument of type '[]' is not assignable to parameter of type 'never'.
|
|
tests/unit/website/signupRoute.test.ts(14,41): error TS2345: Argument of type '[]' is not assignable to parameter of type 'never'.
|