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.
101 lines
4.0 KiB
TypeScript
101 lines
4.0 KiB
TypeScript
import { type Stats } from 'node:fs';
|
|
import type { MkdirError } from './mkdir.js';
|
|
import { Parser } from './parse.js';
|
|
import type { TarOptions } from './options.js';
|
|
import { PathReservations } from './path-reservations.js';
|
|
import type { ReadEntry } from './read-entry.js';
|
|
import type { WarnData } from './warn-method.js';
|
|
import { SymlinkError } from './symlink-error.js';
|
|
declare const ONENTRY: unique symbol;
|
|
declare const CHECKFS: unique symbol;
|
|
declare const CHECKFS2: unique symbol;
|
|
declare const ISREUSABLE: unique symbol;
|
|
declare const MAKEFS: unique symbol;
|
|
declare const FILE: unique symbol;
|
|
declare const DIRECTORY: unique symbol;
|
|
declare const LINK: unique symbol;
|
|
declare const SYMLINK: unique symbol;
|
|
declare const HARDLINK: unique symbol;
|
|
declare const ENSURE_NO_SYMLINK: unique symbol;
|
|
declare const UNSUPPORTED: unique symbol;
|
|
declare const CHECKPATH: unique symbol;
|
|
declare const STRIPABSOLUTEPATH: unique symbol;
|
|
declare const MKDIR: unique symbol;
|
|
declare const ONERROR: unique symbol;
|
|
declare const PENDING: unique symbol;
|
|
declare const PEND: unique symbol;
|
|
declare const UNPEND: unique symbol;
|
|
declare const ENDED: unique symbol;
|
|
declare const MAYBECLOSE: unique symbol;
|
|
declare const SKIP: unique symbol;
|
|
declare const DOCHOWN: unique symbol;
|
|
declare const UID: unique symbol;
|
|
declare const GID: unique symbol;
|
|
declare const CHECKED_CWD: unique symbol;
|
|
export declare class Unpack extends Parser {
|
|
[ENDED]: boolean;
|
|
[CHECKED_CWD]: boolean;
|
|
[PENDING]: number;
|
|
reservations: PathReservations;
|
|
transform?: TarOptions['transform'];
|
|
writable: true;
|
|
readable: false;
|
|
uid?: number;
|
|
gid?: number;
|
|
setOwner: boolean;
|
|
preserveOwner: boolean;
|
|
processGid?: number;
|
|
processUid?: number;
|
|
maxDepth: number;
|
|
forceChown: boolean;
|
|
win32: boolean;
|
|
newer: boolean;
|
|
keep: boolean;
|
|
noMtime: boolean;
|
|
preservePaths: boolean;
|
|
unlink: boolean;
|
|
cwd: string;
|
|
strip: number;
|
|
processUmask: number;
|
|
umask: number;
|
|
dmode: number;
|
|
fmode: number;
|
|
chmod: boolean;
|
|
constructor(opt?: TarOptions);
|
|
warn(code: string, msg: string | Error, data?: WarnData): void;
|
|
[MAYBECLOSE](): void;
|
|
[STRIPABSOLUTEPATH](entry: ReadEntry, field: 'path' | 'linkpath'): boolean;
|
|
[CHECKPATH](entry: ReadEntry): boolean;
|
|
[ONENTRY](entry: ReadEntry): void;
|
|
[ONERROR](er: Error, entry: ReadEntry): void;
|
|
[MKDIR](dir: string, mode: number, cb: (er?: null | MkdirError, made?: string) => void): void;
|
|
[DOCHOWN](entry: ReadEntry): boolean;
|
|
[UID](entry: ReadEntry): number | undefined;
|
|
[GID](entry: ReadEntry): number | undefined;
|
|
[FILE](entry: ReadEntry, fullyDone: () => void): void;
|
|
[DIRECTORY](entry: ReadEntry, fullyDone: () => void): void;
|
|
[UNSUPPORTED](entry: ReadEntry): void;
|
|
[SYMLINK](entry: ReadEntry, done: () => void): void;
|
|
[HARDLINK](entry: ReadEntry, done: () => void): void;
|
|
[ENSURE_NO_SYMLINK](entry: ReadEntry, cwd: string, parts: string[], done: () => void, onError: (er: SymlinkError) => void): void;
|
|
[PEND](): void;
|
|
[UNPEND](): void;
|
|
[SKIP](entry: ReadEntry): void;
|
|
[ISREUSABLE](entry: ReadEntry, st: Stats): boolean;
|
|
[CHECKFS](entry: ReadEntry): void;
|
|
[CHECKFS2](entry: ReadEntry, fullyDone: (er?: Error) => void): void;
|
|
[MAKEFS](er: null | undefined | Error, entry: ReadEntry, done: () => void): void;
|
|
[LINK](entry: ReadEntry, linkpath: string, link: 'link' | 'symlink', done: () => void): void;
|
|
}
|
|
export declare class UnpackSync extends Unpack {
|
|
sync: true;
|
|
[MAKEFS](er: null | Error | undefined, entry: ReadEntry): void;
|
|
[CHECKFS](entry: ReadEntry): void;
|
|
[FILE](entry: ReadEntry, done: () => void): void;
|
|
[DIRECTORY](entry: ReadEntry, done: () => void): void;
|
|
[MKDIR](dir: string, mode: number): unknown;
|
|
[ENSURE_NO_SYMLINK](_entry: ReadEntry, cwd: string, parts: string[], done: () => void, onError: (er: SymlinkError) => void): void;
|
|
[LINK](entry: ReadEntry, linkpath: string, link: 'link' | 'symlink', done: () => void): void;
|
|
}
|
|
export {};
|
|
//# sourceMappingURL=unpack.d.ts.map
|