docs: update types for example for toMatchAriaSnapshot to use '.yml' extension

This commit is contained in:
Debbie O'Brien 2025-01-28 07:56:29 +01:00
parent 0e336e505e
commit 1b00b129f6

View file

@ -8689,7 +8689,8 @@ interface LocatorAssertions {
*
* ```js
* 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