Files
gnezim 60e2149072 Add comprehensive e2e test suites for Tasks 16-25
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.
2026-04-05 19:25:03 +03:00

104 lines
2.6 KiB
JSON

{
"name": "yargs",
"version": "18.0.0",
"description": "yargs the modern, pirate-themed, successor to optimist.",
"main": "./index.mjs",
"exports": {
"./package.json": "./package.json",
"./helpers": "./helpers/helpers.mjs",
"./browser": {
"types": "./browser.d.ts",
"import": "./browser.mjs"
},
".": "./index.mjs",
"./yargs": "./index.mjs"
},
"type": "module",
"module": "./index.mjs",
"contributors": [
{
"name": "Yargs Contributors",
"url": "https://github.com/yargs/yargs/graphs/contributors"
}
],
"files": [
"browser.mjs",
"browser.d.ts",
"helpers/*.js",
"helpers/*",
"index.mjs",
"build",
"locales",
"LICENSE",
"lib/platform-shims/*.mjs",
"!*.d.ts",
"!**/*.d.ts"
],
"dependencies": {
"cliui": "^9.0.1",
"escalade": "^3.1.1",
"get-caller-file": "^2.0.5",
"string-width": "^7.2.0",
"y18n": "^5.0.5",
"yargs-parser": "^22.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.26.10",
"@babel/preset-typescript": "^7.26.0",
"@types/chai": "^4.2.11",
"@types/mocha": "^9.0.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"browserslist-generator": "^2.0.1",
"c8": "^9.1.0",
"chai": "^4.2.0",
"chalk": "^4.0.0",
"cpr": "^3.0.1",
"cross-env": "^7.0.2",
"cross-spawn": "^7.0.6",
"eslint": "^8.57.1",
"eslint-plugin-prettier": "^5.1.2",
"gts": "^5.2.0",
"hashish": "0.0.4",
"mocha": "^10.8.2",
"rimraf": "^3.0.2",
"typescript": "^5.8.3",
"which": "^2.0.0",
"yargs-test-extends": "^1.0.1"
},
"scripts": {
"fix": "gts fix && npm run fix:js",
"fix:js": "eslint . --ext mjs --ext js --fix",
"posttest": "npm run check",
"test": "c8 mocha --enable-source-maps ./test/*.mjs --require ./test/before.mjs --timeout=24000 --check-leaks",
"test:esm": "c8 mocha --enable-source-maps ./test/esm/*.mjs --check-leaks",
"coverage": "c8 report --check-coverage",
"prepare": "npm run compile",
"pretest": "npm run compile -- -p tsconfig.test.json",
"compile": "rimraf build && tsc",
"check": "gts lint && npm run check:js",
"check:js": "eslint . --ext mjs --ext js",
"clean": "gts clean",
"watch": "rimraf build && npm:watch:tsc",
"watch:tsc": "tsc --watch"
},
"repository": {
"type": "git",
"url": "https://github.com/yargs/yargs.git"
},
"homepage": "https://yargs.js.org/",
"keywords": [
"argument",
"args",
"option",
"parser",
"parsing",
"cli",
"command"
],
"license": "MIT",
"engines": {
"node": "^20.19.0 || ^22.12.0 || >=23"
}
}