remove errant and unnecessary 'await's

Signed-off-by: Mike Ball <mikedball@gmail.com>
This commit is contained in:
Mike Ball
2023-02-05 08:02:39 -05:00
parent bff35c4d98
commit 9ccf4bebd7
@@ -94,7 +94,7 @@ describe('<RecentWorkflowRunsCard />', () => {
);
it('renders a table with a row for each workflow', async () => {
const subject = await renderSubject();
const subject = renderSubject();
workflowRuns.forEach(run => {
expect(subject.getByText(run.message)).toBeInTheDocument();
@@ -102,7 +102,7 @@ describe('<RecentWorkflowRunsCard />', () => {
});
it('renders a workflow row correctly', async () => {
const subject = await renderSubject();
const subject = renderSubject();
const [run] = workflowRuns;
expect(subject.getByText(run.message).closest('a')).toHaveAttribute(
'href',