test: add tests for CookieBanner
For #5 (closed)
What does this MR do?
- 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).
- Adds
jest
and related packages, plus ajest.config.js
. - Adds snapshot tests for
CookieBanner
and lower level components. - Makes some eslintrc changes to support jest / ts
Checks
npm test
Edited by Benjamin Woods