Skip to content

Commit

Permalink
patch(vest): only bind summary object to the suite result methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Mar 29, 2022
1 parent d16963a commit 6764716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vest/src/core/suite/produce/produceSuiteResult.ts
Expand Up @@ -22,7 +22,7 @@ export function produceSuiteResult(): SuiteResult {
ctx.bind(ctxRef, () => {
const summary = genTestsSummary();
const suiteName = useSuiteName();
const ref = assign({ summary }, ctxRef);
const ref = { summary };
return assign(summary, {
getErrors: ctx.bind(ref, getErrors),
getErrorsByGroup: ctx.bind(ref, getErrorsByGroup),
Expand Down

1 comment on commit 6764716

@vercel
Copy link

@vercel vercel bot commented on 6764716 Mar 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vest-next – ./website

vest-website.vercel.app
vest-next-git-latest-ealush.vercel.app
vest-next.vercel.app
vest-next-ealush.vercel.app

Please sign in to comment.