fix: add prefer-dom-node-dataset rule (#5107)

This commit is contained in:
LongYinan committed 2023-11-29 04:43:35 +00:00
1 parent 923844f302
commit 123f091e5b
9 files changed
+13 -22

No files matched your search

+1 -1
View File
@@ -1,3 +1,4 @@
/* eslint-disable unicorn/prefer-dom-node-dataset */
import { test } from '@affine-test/kit/playwright';
import {
changeFilter,
@@ -307,7 +308,6 @@ test('select a group of items by clicking "Select All" in group header', async (
const selectedGroupItemTotalCount = await page
.locator('[data-testid="page-list-group-header"]')
.getAttribute('data-group-items-count');
expect(selectedItemCount).toBe(selectedGroupItemTotalCount);
// check the selected count is equal to the one displayed in the floating toolbar