From 13e93d57178222f5e836549a19a66e5a03f28995 Mon Sep 17 00:00:00 2001 From: Robb Niznik Date: Mon, 4 Nov 2024 15:10:43 -0500 Subject: [PATCH] feat: add test --- .../components/__tests__/GridList.spec.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/components/__tests__/GridList.spec.tsx diff --git a/packages/components/__tests__/GridList.spec.tsx b/packages/components/__tests__/GridList.spec.tsx new file mode 100644 index 000000000..d2ed91f35 --- /dev/null +++ b/packages/components/__tests__/GridList.spec.tsx @@ -0,0 +1,18 @@ +import { describe, expect, it } from 'vitest'; + +import { render, screen } from '../../../test/utils'; +import { GridList, GridListItem } from '../src'; + +describe('GridList', () => { + it('renders', async () => { + render( + + Item one + Item two + Item three + , + ); + + expect(await screen.findByRole('grid')).toBeVisible(); + }); +});