fix tests

This commit is contained in:
Ulf Gebhardt 2024-01-28 12:30:31 +01:00
parent 7cd5216651
commit 010fbb872f
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
5 changed files with 4 additions and 72 deletions

View File

@ -8,7 +8,7 @@ import { title } from './+title'
describe('ErrorPage', () => {
it('title returns correct title', () => {
expect(title).toBe('DreamMall | Fehler')
expect(title).toBe('IT4C | Error')
})
describe('500 Error', () => {
const WrapperUndefined = () => {

View File

@ -14,7 +14,7 @@ describe('AboutPage', () => {
})
it('title returns correct title', () => {
expect(title).toBe('DreamMall')
expect(title).toBe('IT4C | About')
})
it('renders', () => {

View File

@ -14,7 +14,7 @@ describe('AppPage', () => {
})
it('title returns correct title', () => {
expect(title).toBe('DreamMall')
expect(title).toBe('IT4C | App')
})
it('renders', () => {

View File

@ -14,7 +14,7 @@ describe('IndexPage', () => {
})
it('title returns default title', () => {
expect(title).toBe('DreamMall')
expect(title).toBe('IT4C')
})
it('renders', () => {

View File

@ -1,73 +1,5 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`DataPrivacyPage > renders 1`] = `
<div
class="v-application v-theme--light v-layout v-layout--full-height v-locale--is-ltr"
>
<div
class="v-application__wrap"
>
<main
class="v-main bg-grey-lighten-3"
style="--v-layout-left: 0px; --v-layout-right: 0px; --v-layout-top: 0px; --v-layout-bottom: 0px;"
>
<div
class="v-container v-locale--is-ltr"
>
<div
class="v-row"
>
<!--v-if-->
<div
class="v-col"
>
<div
class="v-sheet v-theme--light v-sheet--rounded pa-3"
>
<h1>
$t('home.h1')
</h1>
<p>
$t('home.text1')
</p>
<br />
<p>
$t('home.text2')
</p>
<br />
<p>
$t('home.text3')
</p>
<br />
<p>
$t('home.text4')
<i
aria-hidden="true"
class="mdi-heart mdi v-icon notranslate v-theme--light v-icon--size-default text-red"
/>
</p>
<br />
<p>
$t('home.greet1')
</p>
<p>
$t('home.greet2')
</p>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
`;
exports[`IndexPage > renders 1`] = `
<div
class="v-application v-theme--light v-layout v-layout--full-height v-locale--is-ltr"