Skip to content

Commit

Permalink
Allow node access for vanilla JS testing
Browse files Browse the repository at this point in the history
  • Loading branch information
marcysutton committed Dec 12, 2024
1 parent 7eacfef commit b961200
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ describe("Announcer class", () => {

// Assert
expect(wrapperElement).toBeInTheDocument();
// eslint-disable-next-line testing-library/no-node-access
expect(wrapperElement?.childElementCount).toBe(2);
expect(regions.size).toBe(4);
});
Expand Down

0 comments on commit b961200

Please sign in to comment.