run prettier on ui

This commit is contained in:
2025-07-25 22:39:10 +01:00
parent 8c12ca0024
commit df81605ecc
8 changed files with 236 additions and 129 deletions

View File

@ -1,15 +1,14 @@
// @noErrors
import { it, expect } from 'vitest'
import { it, expect } from "vitest";
// ---cut---
// tests/components/SomeComponents.nuxt.spec.ts
import { mountSuspended } from '@nuxt/test-utils/runtime'
import Index from '~/pages/index.vue'
import { mountSuspended } from "@nuxt/test-utils/runtime";
import Index from "~/pages/index.vue";
// tests/App.nuxt.spec.ts
it('can also mount an app', async () => {
const component = await mountSuspended(Index, { route: '/test' })
expect(component.html()).toMatchInlineSnapshot(`
it("can also mount an app", async () => {
const component = await mountSuspended(Index, { route: "/test" });
expect(component.html()).toMatchInlineSnapshot(`
"<h1>Hello World</h1>"
`)
})
`);
});

View File

@ -1,3 +1,3 @@
<template>
<h1>Hello World</h1>
<h1>Hello World</h1>
</template>