FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

test: add tests for CookieBanner

Merged Benjamin Woods requested to merge issue-5-cookiebanner-tests into main
1 unresolved thread

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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading