60e2149072
Tasks 16-20: Online Board Tests (Search/Filter, Tabs, Flight List, Details Modal, Time/Date) - Task 16: Search & Filter tests (37 tests) - departure/arrival cities, passenger count, cabin class - Task 17: Arrival/Departure Tabs tests (45 tests) - tab switching, flight display, sorting - Task 18: Flight List View tests (50 tests) - display, sorting, filtering, pagination, loading states - Task 19: Flight Details Modal tests (40 tests) - opening/closing, content display, actions - Task 20: Time & Date Filter tests (43 tests) - date selection, time ranges, calendar navigation Tasks 21-25: Flight Details Tests (Flight Info, Passengers, Seats, Services, Fares) - Task 21: Flight Info Display tests (40 tests) - basic info, airports, route visualization, timeline - Task 22: Passenger Info tests (50 tests) - passenger list, details, services, special requirements - Task 23: Seat Selection tests (50 tests) - seat map, selection, categories, recommendations - Task 24: Service Selection tests (25 tests) - baggage, meals, seats, summary - Task 25: Fare Display tests (55 tests) - fare breakdown, comparisons, discounts, refunds All tests follow AAA pattern and use data-testid selectors matching Angular version. Total: 245 tests across 10 feature suites.
64 lines
2.7 KiB
TypeScript
64 lines
2.7 KiB
TypeScript
import { V as ViteRuntimeOptions, b as ViteModuleRunner, M as ModuleCacheMap, c as HMRClient, R as ResolvedResult, d as ViteRuntimeModuleContext } from './types.d-aGj9QkWt.js';
|
|
export { a as FetchFunction, F as FetchResult, e as HMRConnection, H as HMRLogger, g as HMRRuntimeConnection, f as ModuleCache, S as SSRImportMetadata, h as ViteRuntimeImportMeta, s as ssrDynamicImportKey, i as ssrExportAllKey, j as ssrImportKey, k as ssrImportMetaKey, l as ssrModuleExportsKey } from './types.d-aGj9QkWt.js';
|
|
import '../../types/hot.js';
|
|
import '../../types/hmrPayload.js';
|
|
import '../../types/customEvent.js';
|
|
|
|
interface ViteRuntimeDebugger {
|
|
(formatter: unknown, ...args: unknown[]): void;
|
|
}
|
|
declare class ViteRuntime {
|
|
options: ViteRuntimeOptions;
|
|
runner: ViteModuleRunner;
|
|
private debug?;
|
|
/**
|
|
* Holds the cache of modules
|
|
* Keys of the map are ids
|
|
*/
|
|
moduleCache: ModuleCacheMap;
|
|
hmrClient?: HMRClient;
|
|
entrypoints: Set<string>;
|
|
private idToUrlMap;
|
|
private fileToIdMap;
|
|
private envProxy;
|
|
private _destroyed;
|
|
private _resetSourceMapSupport?;
|
|
constructor(options: ViteRuntimeOptions, runner: ViteModuleRunner, debug?: ViteRuntimeDebugger | undefined);
|
|
/**
|
|
* URL to execute. Accepts file path, server path or id relative to the root.
|
|
*/
|
|
executeUrl<T = any>(url: string): Promise<T>;
|
|
/**
|
|
* Entrypoint URL to execute. Accepts file path, server path or id relative to the root.
|
|
* In the case of a full reload triggered by HMR, this is the module that will be reloaded.
|
|
* If this method is called multiple times, all entrypoints will be reloaded one at a time.
|
|
*/
|
|
executeEntrypoint<T = any>(url: string): Promise<T>;
|
|
/**
|
|
* Clear all caches including HMR listeners.
|
|
*/
|
|
clearCache(): void;
|
|
/**
|
|
* Clears all caches, removes all HMR listeners, and resets source map support.
|
|
* This method doesn't stop the HMR connection.
|
|
*/
|
|
destroy(): Promise<void>;
|
|
/**
|
|
* Returns `true` if the runtime has been destroyed by calling `destroy()` method.
|
|
*/
|
|
isDestroyed(): boolean;
|
|
private invalidateFiles;
|
|
private normalizeEntryUrl;
|
|
private processImport;
|
|
private cachedRequest;
|
|
private cachedModule;
|
|
protected directRequest(id: string, fetchResult: ResolvedResult, _callstack: string[]): Promise<any>;
|
|
}
|
|
|
|
declare class ESModulesRunner implements ViteModuleRunner {
|
|
runViteModule(context: ViteRuntimeModuleContext, code: string): Promise<any>;
|
|
runExternalModule(filepath: string): Promise<any>;
|
|
}
|
|
|
|
export { ESModulesRunner, ModuleCacheMap, ResolvedResult, ViteModuleRunner, ViteRuntime, ViteRuntimeModuleContext, ViteRuntimeOptions };
|