This repository contains an Ionic app which uses Angular and Capacitor. The app's purpose is it to demonstrate how to write automatic tests for Ionic apps.
The app allows to query for IATA codes (International Air Transport Association), namely airport codes and airline codes, but only a few airports and airlines are actually "stored" (i.e. hard-coded) in the app, see class IatadbService.
The author of this app is not related to the IATA in any way.
Enter the following command to run the tests with the Karma testrunner:
npm test
The unit tests are defined in the files with suffix .spec.ts
under folder src/app/ .
See the LICENSE file for license rights and limitations (BSD 3-Clause License) for the files in this repository.