feat(core): use contain strict optimizing performance (#8553)
This commit is contained in:
@@ -57,7 +57,7 @@ test('Drag resizer can resize sidebar', async ({ page }) => {
|
||||
});
|
||||
await page.mouse.up();
|
||||
const boundingBox = await page.getByTestId('app-sidebar').boundingBox();
|
||||
expect(boundingBox?.width).toBe(399);
|
||||
expect(Math.floor(boundingBox?.width ?? 0)).toBe(399);
|
||||
});
|
||||
|
||||
test('Sidebar in between sm & md breakpoint', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user