Skip to content

spraakbanken/strix-frontend

Repository files navigation

Strix frontend

Build Status

Strix is Språkbanken's tool for document-centric corpus linguistics.

The frontend is an Angular 6 web application which uses strix-backend over HTTP.

Tests

Run ng test to execute the unit tests via Karma.

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve. Or use docker-compose up --build to run the tests.

Some of the end-to-end test specs fail randomly for unknown reasons. They are marked with in-code comments. If they fail, you might want to just try again. Specs that fail most of the time are set to pending (using xit).