Skip to content

Commit

Permalink
types(vest): add suiteName to SuiteResult
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Jul 16, 2022
1 parent 47d688a commit 0c5d48b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/vest/src/core/suite/produce/produceSuiteResult.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { cache as createCache, assign } from 'vest-utils';

import { SuiteSummary } from 'SuiteSummaryTypes';
import ctx from 'ctx';
import genTestsSummary from 'genTestsSummary';
import { useStateRef, useTestsFlat, useSuiteName } from 'stateHooks';
Expand All @@ -24,4 +25,5 @@ export function produceSuiteResult(): SuiteResult {
);
}

export type SuiteResult = ReturnType<typeof genTestsSummary> & SuiteSelectors;
export type SuiteResult = SuiteSummary &
SuiteSelectors & { suiteName: string | undefined };

1 comment on commit 0c5d48b

@vercel
Copy link

@vercel vercel bot commented on 0c5d48b Jul 16, 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-next-ealush.vercel.app
vest-website.vercel.app
vest-next-git-latest-ealush.vercel.app
vest-next.vercel.app

Please sign in to comment.