Skip to content

Add Jest as a testing framework for our docs frontend codebase

Jacques Erasmus requested to merge 442-add-js-testing-framework into master

This adds Jest as a testing framework for our docs frontend codebase.

It also adds the necessary pipeline configuration to run our jest specs during a build.

Example spec added in spec/javascripts/components/navigation_toggle/navigation_toggle_spec.js

TODO

  • Configure Jest.
  • Add the necessary pipeline configuration.
  • Add an example spec.

Closes #442 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports