mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
fix tests
This commit is contained in:
parent
7cd5216651
commit
010fbb872f
@ -8,7 +8,7 @@ import { title } from './+title'
|
|||||||
|
|
||||||
describe('ErrorPage', () => {
|
describe('ErrorPage', () => {
|
||||||
it('title returns correct title', () => {
|
it('title returns correct title', () => {
|
||||||
expect(title).toBe('DreamMall | Fehler')
|
expect(title).toBe('IT4C | Error')
|
||||||
})
|
})
|
||||||
describe('500 Error', () => {
|
describe('500 Error', () => {
|
||||||
const WrapperUndefined = () => {
|
const WrapperUndefined = () => {
|
||||||
|
|||||||
@ -14,7 +14,7 @@ describe('AboutPage', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('title returns correct title', () => {
|
it('title returns correct title', () => {
|
||||||
expect(title).toBe('DreamMall')
|
expect(title).toBe('IT4C | About')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('renders', () => {
|
it('renders', () => {
|
||||||
|
|||||||
@ -14,7 +14,7 @@ describe('AppPage', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('title returns correct title', () => {
|
it('title returns correct title', () => {
|
||||||
expect(title).toBe('DreamMall')
|
expect(title).toBe('IT4C | App')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('renders', () => {
|
it('renders', () => {
|
||||||
|
|||||||
@ -14,7 +14,7 @@ describe('IndexPage', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('title returns default title', () => {
|
it('title returns default title', () => {
|
||||||
expect(title).toBe('DreamMall')
|
expect(title).toBe('IT4C')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('renders', () => {
|
it('renders', () => {
|
||||||
|
|||||||
@ -1,73 +1,5 @@
|
|||||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
// 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`] = `
|
exports[`IndexPage > renders 1`] = `
|
||||||
<div
|
<div
|
||||||
class="v-application v-theme--light v-layout v-layout--full-height v-locale--is-ltr"
|
class="v-application v-theme--light v-layout v-layout--full-height v-locale--is-ltr"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user