We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 823dca3 commit 78f48efCopy full SHA for 78f48ef
CHANGELOG.md
@@ -79,6 +79,7 @@
79
80
### Chore & Maintenance
81
82
+- `[docs]` Fix message property in custom matcher example to return a function instead of a constant.
83
- `[jest-watcher]` Standardize filenames ([#7314](https://github.com/facebook/jest/pull/7314))
84
- `[jest-circus]` Standardize file naming in `jest-circus` ([#7301](https://github.com/facebook/jest/pull/7301))
85
- `[docs]` Add synchronous test.each setup ([#7150](https://github.com/facebook/jest/pull/7150))
docs/ExpectAPI.md
@@ -107,7 +107,7 @@ expect.extend({
107
yourMatcher(x, y, z) {
108
return {
109
pass: true,
110
- message: '',
+ message: () => '',
111
};
112
},
113
});
0 commit comments