Skip to content

Commit e7ae777

Browse files
committed
add test
1 parent ab59a4d commit e7ae777

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/visual/basicGrid.test.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,9 @@ test('basic grid', async () => {
5252

5353
await expect(getGrid()).toMatchScreenshot('basic-grid');
5454
});
55+
56+
test('color', async () => {
57+
await page.render(<div style={{ color: 'red' }}>color test</div>);
58+
59+
await expect(page.getByText('color test')).toMatchScreenshot('color');
60+
});

0 commit comments

Comments
 (0)