Update tests/playwright-test/aria-snapshot-file.spec.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Simon Knott <info@simonknott.de>
This commit is contained in:
Simon Knott 2025-02-26 10:22:13 +01:00 committed by GitHub
parent 272f4c8e73
commit 8e631b2c4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,7 +128,7 @@ test('should generate snapshot name', async ({ runInlineTest }, testInfo) => {
expect(snapshot2).toBe('- heading "hello world 2" [level=1]');
});
test('backwads compat with .yml extension', async ({ runInlineTest }) => {
test('backwards compat with .yml extension', async ({ runInlineTest }) => {
const result = await runInlineTest({
'a.spec.ts-snapshots/test-1.yml': `
- heading "hello old world"