Fixed variable name typo

This commit is contained in:
Naz 2023-02-17 17:00:27 +08:00
parent 3ddfe59e15
commit f27c7ba044
No known key found for this signature in database

View File

@ -14,7 +14,7 @@ const postMatcher = {
uuid: anyUuid uuid: anyUuid
}; };
const postMatcheShallowIncludes = Object.assign( const postMatcherShallowIncludes = Object.assign(
{}, {},
postMatcher, { postMatcher, {
tags: anyArray, tags: anyArray,
@ -169,7 +169,7 @@ describe('Posts Content API', function () {
}) })
.matchBodySnapshot({ .matchBodySnapshot({
posts: new Array(11) posts: new Array(11)
.fill(postMatcheShallowIncludes) .fill(postMatcherShallowIncludes)
}); });
}); });