mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
fix(expect): register extended matchers after native matchers (#6075)
This commit is contained in:
parent
e43a7df4b6
commit
ea8548602e
@ -181,8 +181,8 @@ export function expect<T extends Expected = Expected>(
|
||||
|
||||
const extendMatchers: Matchers = getExtendMatchers();
|
||||
const allMatchers = {
|
||||
...extendMatchers,
|
||||
...matchers,
|
||||
...extendMatchers,
|
||||
};
|
||||
const matcher = allMatchers[name as MatcherKey] as Matcher;
|
||||
if (!matcher) {
|
||||
|
Loading…
Reference in New Issue
Block a user