@stencil/playwright 0.2.2-dev.1763311619.b0d6b9d → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/test-expect.d.ts +11 -0
- package/package.json +1 -1
package/dist/test-expect.d.ts
CHANGED
|
@@ -8,6 +8,17 @@ interface CustomMatchers<R = unknown> {
|
|
|
8
8
|
* @param eventDetail The expected detail of the event.
|
|
9
9
|
*/
|
|
10
10
|
toHaveReceivedEventDetail(eventDetail: any): R;
|
|
11
|
+
/**
|
|
12
|
+
* Will check if the event spy received the expected event at the given index with the expected detail.
|
|
13
|
+
* @param index position of the event in the received events array.
|
|
14
|
+
* @param eventDetail The expected detail of the event.
|
|
15
|
+
*/
|
|
16
|
+
toHaveNthReceivedEventDetail(index: number, eventDetail: any): R;
|
|
17
|
+
/**
|
|
18
|
+
* Will check if the event spy received the expected event with the expected detail on the first received event.
|
|
19
|
+
* @param eventDetail The expected detail of the event.
|
|
20
|
+
*/
|
|
21
|
+
toHaveFirstReceivedEventDetail(eventDetail: any): R;
|
|
11
22
|
/**
|
|
12
23
|
* Will check how many times the event has been received.
|
|
13
24
|
*/
|