Skip to content

Commit ac177f2

Browse files
committed
test: clean up nuxt project output
1 parent 0462cef commit ac177f2

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

test/nuxt/a11y.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,7 +1706,9 @@ describe('component accessibility audits', () => {
17061706
describe('Readme', () => {
17071707
it('should have no accessibility violations with slot content', async () => {
17081708
const component = await mountSuspended(Readme, {
1709-
slots: { default: '<h3>README</h3><p>Some content</p>' },
1709+
props: {
1710+
html: '<h3>README</h3><p>Some content</p>',
1711+
},
17101712
})
17111713
const results = await runAxe(component)
17121714
expect(results.violations).toEqual([])

vitest.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ export default defineConfig({
3333
experimental: {
3434
viteEnvironmentApi: false,
3535
},
36+
pwa: {
37+
pwaAssets: { disabled: true },
38+
},
3639
ogImage: { enabled: false },
3740
},
3841
},

0 commit comments

Comments
 (0)