Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added jest fail test utilities #13

Merged
merged 10 commits into from
Jun 18, 2022
Merged

feat: added jest fail test utilities #13

merged 10 commits into from
Jun 18, 2022

Conversation

dereekb
Copy link
Owner

@dereekb dereekb commented Jun 18, 2022

  • Replaced usage of Jest's fail() with new utility, as fail() has not been available with the release of Jest circus (27/28).

@dereekb dereekb merged commit 5891777 into develop Jun 18, 2022
@dereekb dereekb deleted the feat/fail branch June 18, 2022 20:45
@dereekb dereekb restored the feat/fail branch June 18, 2022 20:45
@dereekb dereekb deleted the feat/fail branch June 18, 2022 20:45
dereekb pushed a commit that referenced this pull request Jun 18, 2022
feat: added jest fail test utilities (#13)

* feat: added shouldFail()

- added shouldFail() due to fail() not being a part of Jest 27/28

* refactor: renamed PromiseReference

* checkpoint: updated design of functions in jest.fail

* checkpoint: replace fail usage

* fix: fixed onMatchDelta() with requireConsecutive usage

* test: updated tests to use @dereekb/util/test fail

* build: updated firebase-admin to 11.0.0

- update fixed issue with firestore update() function not behaving correctly

* checkpoint: test cleanup

* checkpoint(cleanup): lint fixes

* checkpoint: added missing test
fix: fixed issue with snapshot falsy default values being ignored
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant