This commit is contained in:
1 parent
1aad481930
commit
6dbee69601
2 files changed
+7
No files matched your search
@@ -158,6 +158,12 @@ describe("ArchivePage Component", () => {
|
||||
expect(screen.getAllByLabelText("جستجوی علائم").length).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
it("gives the catalog sort control an accessible name", () => {
|
||||
render(<ArchivePage initialProducts={mockProducts as any} />);
|
||||
|
||||
expect(screen.getByLabelText("مرتبسازی محصولات")).toBeTruthy();
|
||||
});
|
||||
|
||||
|
||||
beforeEach(() => {
|
||||
vi.clearAllMocks();
|
||||
|
||||
Reference in new issue
Block a user