Skip to content

Commit f9803fc

Browse files
Use toBeInTheDocument
1 parent c958fd2 commit f9803fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/ql-vscode/src/view/variant-analysis/__tests__/VariantAnalysisStatusStats.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ describe(VariantAnalysisStatusStats.name, () => {
2424
expect(
2525
container.getElementsByClassName(
2626
"codicon codicon-loading codicon-modifier-spin",
27-
).length,
28-
).toEqual(1);
27+
)[0],
28+
).toBeInTheDocument();
2929
});
3030

3131
it("renders when there is a completedAt date", () => {

0 commit comments

Comments
 (0)