digitalfabrik / lunes-app

The front end for the Lunes vocabulary trainer. Back end: https://github.com/digitalfabrik/lunes-cms
https://lunes.app
Apache License 2.0
24 stars 5 forks source link

LUN-450: Write Tests for NotAuthorizedView #883

Closed jira-to-github-migrator[bot] closed 1 year ago

jira-to-github-migrator[bot] commented 1 year ago

Stefanie Metzger - 27.10.2022, 08:34:25

Write unit tests for /components/NotAuthorizedView.

 

The test should check if:

  1. Description is rendered
  2. Back Button is rendered and working correctly
  3. Link to settings is rendered and working correctly

 

See services/tests/url.spec.ts how "Linking" can be mocked.

Environment: - Linked issues: