Skip to content

Commit b0e143e

Browse files
Copilothotlong
andcommitted
fix: ViewDesigner test assertion - use bg-primary instead of border-primary to avoid substring match with hover:border-primary/50
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent d90aa85 commit b0e143e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/plugin-designer/src/__tests__/ViewDesigner.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ describe('ViewDesigner', () => {
223223
expect(kanbanBtn.className).toContain('border-primary');
224224

225225
const gridBtn = screen.getByTestId('view-type-grid');
226-
expect(gridBtn.className).not.toContain('border-primary');
226+
expect(gridBtn.className).not.toContain('bg-primary');
227227
});
228228

229229
it('should not change type in read-only mode', () => {

0 commit comments

Comments
 (0)