FAQ | This is a LIVE service | Changelog

Skip to content

test: add tests for CookieBanner

Benjamin Woods requested to merge issue-5-cookiebanner-tests into main

For #5 (closed)

What does this MR do?

  1. Contracts the behaviour of the feature via a Gherkin file (this doesn't correspond to any programmatic tests, but makes it easy to see what the feature does).
  2. Adds jest and related packages, plus a jest.config.js.
  3. Adds snapshot tests for CookieBanner and lower level components.
  4. Makes some eslintrc changes to support jest / ts

Checks

npm test

Edited by Benjamin Woods

Merge request reports

Loading