Skip to content

Feature/#33 unit tests

schneider210 requested to merge feature/#33-unit-tests into develop

Feature

Summary

This MR provides the configuration for unit testing the viewer's components and a very basic first test making use of jest and the expect-library. moreover there are several minors added:

  • Metadata fields expanded
  • labels fixed (nav)
  • packages up to date (lacking autoprefixer and sass-loader)

Does the result of the MR comply to our "definition of done"?

  • Unit tests passed
  • Code reviewed
  • Acceptance criteria met
  • Functional tests passed
  • Non-Functional requirements met
  • Product Owner accepts the User Story

Documentation

  • I updated the README (if applicable)
  • I provided my functions with appropriate documentation
  • I adjusted other parts of the documentation (if applicable)

Tests

Are we able to test this new feature?

  • Yes, everything can be done via unit tests.
  • Yes, you can test by following these steps: write your own unit test with jest and run it: npm run test:unit
  • No, it is not possible.

Changelog

  • I added a statement to the CHANGELOG.

Related Tickets

Add all related issues and especially those to be closed.

Related

Closes

Logs and Screenshots

/cc Manikanth Dindigala, Mathias Göbel, Frank Schneider, Michelle Weidling, Nils Windisch

Edited by dindigala

Merge request reports