docs: update types for example for toMatchAriaSnapshot to use '.yml' extension
This commit is contained in:
parent
0e336e505e
commit
1b00b129f6
3
packages/playwright/types/test.d.ts
vendored
3
packages/playwright/types/test.d.ts
vendored
|
|
@ -8689,7 +8689,8 @@ interface LocatorAssertions {
|
||||||
*
|
*
|
||||||
* ```js
|
* ```js
|
||||||
* await expect(page.locator('body')).toMatchAriaSnapshot();
|
* await expect(page.locator('body')).toMatchAriaSnapshot();
|
||||||
* await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'snapshot' });
|
* await expect(page.locator('body')).toMatchAriaSnapshot({ name: 'snapshot.yml' });
|
||||||
|
*
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @param options
|
* @param options
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue