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.
52 lines
1.7 KiB
Markdown
52 lines
1.7 KiB
Markdown
# Methods
|
|
|
|
[![NPM Version][npm-image]][npm-url]
|
|
[![NPM Downloads][downloads-image]][downloads-url]
|
|
[![Node.js Version][node-version-image]][node-version-url]
|
|
[![Build Status][travis-image]][travis-url]
|
|
[![Test Coverage][coveralls-image]][coveralls-url]
|
|
|
|
HTTP verbs that Node.js core's HTTP parser supports.
|
|
|
|
This module provides an export that is just like `http.METHODS` from Node.js core,
|
|
with the following differences:
|
|
|
|
* All method names are lower-cased.
|
|
* Contains a fallback list of methods for Node.js versions that do not have a
|
|
`http.METHODS` export (0.10 and lower).
|
|
* Provides the fallback list when using tools like `browserify` without pulling
|
|
in the `http` shim module.
|
|
|
|
## Install
|
|
|
|
```bash
|
|
$ npm install methods
|
|
```
|
|
|
|
## API
|
|
|
|
```js
|
|
var methods = require('methods')
|
|
```
|
|
|
|
### methods
|
|
|
|
This is an array of lower-cased method names that Node.js supports. If Node.js
|
|
provides the `http.METHODS` export, then this is the same array lower-cased,
|
|
otherwise it is a snapshot of the verbs from Node.js 0.10.
|
|
|
|
## License
|
|
|
|
[MIT](LICENSE)
|
|
|
|
[npm-image]: https://img.shields.io/npm/v/methods.svg?style=flat
|
|
[npm-url]: https://npmjs.org/package/methods
|
|
[node-version-image]: https://img.shields.io/node/v/methods.svg?style=flat
|
|
[node-version-url]: https://nodejs.org/en/download/
|
|
[travis-image]: https://img.shields.io/travis/jshttp/methods.svg?style=flat
|
|
[travis-url]: https://travis-ci.org/jshttp/methods
|
|
[coveralls-image]: https://img.shields.io/coveralls/jshttp/methods.svg?style=flat
|
|
[coveralls-url]: https://coveralls.io/r/jshttp/methods?branch=master
|
|
[downloads-image]: https://img.shields.io/npm/dm/methods.svg?style=flat
|
|
[downloads-url]: https://npmjs.org/package/methods
|