fix: useSyncExternalStore backward compatibility (#296) #284
Annotations
1 error and 1 notice
[webkit] › basic.test.ts:23:7 › basic behavior › item onSelect is called on click:
test/basic.test.ts#L26
1) [webkit] › basic.test.ts:23:7 › basic behavior › item onSelect is called on click ─────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "Item selected"
Received: "[HMR] connected"
24 | const item = page.locator(`[cmdk-item][data-value="Item"]`)
25 | const [message] = await Promise.all([page.waitForEvent('console'), item.click()])
> 26 | expect(message.text()).toEqual('Item selected')
| ^
27 | })
28 |
29 | test('first item is selected by default', async ({ page }) => {
at /home/runner/work/cmdk/cmdk/test/basic.test.ts:26:28
|
🎭 Playwright Run Summary
1 flaky
[webkit] › basic.test.ts:23:7 › basic behavior › item onSelect is called on click ──────────────
40 passed (32.8s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
4.21 KB |
|