Use toBeInTheDocument

This commit is contained in:
Robert
2022-11-30 16:45:36 +00:00
parent c958fd2052
commit f9803fc760

View File

@@ -24,8 +24,8 @@ describe(VariantAnalysisStatusStats.name, () => {
expect(
container.getElementsByClassName(
"codicon codicon-loading codicon-modifier-spin",
).length,
).toEqual(1);
)[0],
).toBeInTheDocument();
});
it("renders when there is a completedAt date", () => {