This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Remove chai from end2end tests #2139
Comments
Note: json schema validation with jest looks hard. I tried using https://github.com/epoberezkin/ajv/releases/tag/5.0.0 But our schema is |
@thomaseizinger is it fine if we update our json schema to draft-06? |
Merged
Yes, no objections. |
Merged
bors bot
added a commit
that referenced
this issue
May 4, 2020
2558: Remove chai-bignumber r=mergify[bot] a=D4nte - Remove `chai-bignumber` dependency. - Removed chai usage from few files - Replace use of `BigNumber` with `bigint` ~Needs DefinitelyTyped/DefinitelyTyped#44368 to be merged and released~. Edit: using `@ts-ignore` for now. Helps with #2139. Co-authored-by: Franck Royer <franck@coblox.tech>
Merged
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is a follow-up ticket from #2106
Problem
After moving to jest we should only use jest matchers and no chai matchers
Goal
Don't have any chai matchers and remove chai from package.json
Recommendation
Remove
comit-rs/api_tests/package.json
Lines 59 to 66 in a9aa572
Note: straightforward replace, don't refactor everything.
The text was updated successfully, but these errors were encountered: