update symbol description

This commit is contained in:
Simon Knott 2024-09-02 09:09:59 +02:00
parent e8945243e2
commit 7b3cb7e34e
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -109,7 +109,7 @@ function createMatchers(actual: unknown, info: ExpectMetaInfo, prefix: string[])
return new Proxy(expectLibrary(actual), new ExpectMetaInfoProxyHandler(info, prefix)); return new Proxy(expectLibrary(actual), new ExpectMetaInfoProxyHandler(info, prefix));
} }
const getCustomMatchersSymbol = Symbol('get prefix'); const getCustomMatchersSymbol = Symbol('get custom matchers');
function qualifiedMatcherName(qualifier: string[], matcherName: string) { function qualifiedMatcherName(qualifier: string[], matcherName: string) {
return qualifier.join(':') + '$' + matcherName; return qualifier.join(':') + '$' + matcherName;