From 883c1282f7771fb16a41d45391b74243021271e3 Mon Sep 17 00:00:00 2001 From: Alex <149157638+AlexBill01@users.noreply.github.com> Date: Mon, 11 Dec 2023 22:50:08 +0800 Subject: [PATCH] fix: fix docs error (#635) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What ❔ fix docs error ## Why ❔ ## Checklist - [x] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [x] Tests for the changes have been added / updated. - [x] Documentation comments have been added / updated. - [x] Code has been formatted via `zk fmt` and `zk lint`. - [x] Spellcheck has been run via `cargo spellcheck --cfg=./spellcheck/era.cfg --code 1`. --------- Co-authored-by: Igor Aleksanov Co-authored-by: Igor Borodin Co-authored-by: AnastasiiaVashchuk <72273339+AnastasiiaVashchuk@users.noreply.github.com> --- core/tests/ts-integration/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/ts-integration/README.md b/core/tests/ts-integration/README.md index 5b34bd7ac02e..c29e15d936dc 100644 --- a/core/tests/ts-integration/README.md +++ b/core/tests/ts-integration/README.md @@ -97,7 +97,7 @@ implemented, register them at [setup file](./src/jest-setup/add-matchers.ts) and ### Matcher modifiers `toBeAccepted` and `toBeRejected` matchers accept modifiers. You can see one (`shouldChangeETHBalances`) above. There -are others (like `shouldChangeTokenBalances` or `shouldOnlyTakeFee`), and if needed you can create your onw ones. +are others (like `shouldChangeTokenBalances` or `shouldOnlyTakeFee`), and if needed you can create your own ones. These modifiers would be applied to the transaction receipt, and you can implement any kind of custom logic there. To do so, you just need to declare a class that inherits `MatcherModifier` class and implements the `check` method.