8 Commits

Author SHA1 Message Date
David Germain
ed0ef9b88a chore: yarn run format 2024-06-13 15:10:03 +01:00
David Germain
802079de5f chore: undelete file, it is needed for the CI 2024-06-13 15:10:03 +01:00
David Germain
a39793ba6f chore: fix docker emulator 2024-06-13 15:10:03 +01:00
chrismclarke
95080a9fef fix: realtimedb emulator 2022-10-31 18:51:30 -07:00
chrismclarke
8ad7dc951e chore: code tidying 2022-06-27 23:10:06 -07:00
chrismclarke
734e409e2f refactor: merge seo sitemap and render folders 2022-06-27 21:20:58 -07:00
chrismclarke
cc78af7f39 test: add support for runtime test config 2022-06-20 18:27:15 -07:00
Luke Watts
410d6a798f test: introduce test infrastructure to functions (#1252)
* test: introduce tests

The aim of this change is to introduce the infrastructure so
that future contributors to the `functions` workspace can
be asked to include tests with minimal overhead.

A test has been added to demonstrate how functions triggered
by changes within the FireStore data can be validated.

If you want to run the tests locally you can do so using
the [firebase tools](https://www.npmjs.com/package/firebase-tools)

```bash
firebase emulators:exec --project default "jest ."
```

```bash
firebase emulators:exec --project default "jest . --watch"
```

* ci: downgrade jest to align with wider project

* feat: introduce tests

* chore: drop commit docs from this branch

* ci: reduce size of resouce class

* chore: align ts-jest with jest version

* docs: clarify wording for job

* fix: add jest types for functions

Co-authored-by: chrismclarke <chris.m.clarke@live.co.uk>
2022-02-02 13:30:43 -08:00