update test names

This commit is contained in:
Simon Knott 2024-10-04 12:32:48 +02:00
parent 7ea87094e8
commit 11fbf584a8
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ test('render a component with a named slot', async ({ mount }) => {
}); });
test('updating slot should work', { annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/32809' } }, async ({ mount }) => { test('updating default slot should work', { annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/32809' } }, async ({ mount }) => {
const slots = { default: 'foo' }; const slots = { default: 'foo' };
const component = await mount(SlotDefaultValue, { slots }); const component = await mount(SlotDefaultValue, { slots });

View file

@ -51,7 +51,7 @@ test('render a component with a named slot', async ({ mount }) => {
await expect(component).toContainText('Footer'); await expect(component).toContainText('Footer');
}); });
test('updating slot should work', { annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/32809' } }, async ({ mount }) => { test('updating default slot should work', { annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/32809' } }, async ({ mount }) => {
const slots = { default: 'foo' }; const slots = { default: 'foo' };
const component = await mount(SlotDefaultValue, { slots }); const component = await mount(SlotDefaultValue, { slots });