Skip to content

Commit 56085a2

Browse files
committed
fix: remove button check from index.vue test
1 parent ad5ec44 commit 56085a2

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

app/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<template>
44
<div>
55
<h1 class="p-4 text-2xl">
6-
{{ $t('welcome') }}
6+
{{ $t('testing.welcome') }}
77
</h1>
88
</div>
99
</template>

test/nuxt/pages/index.spec.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,5 @@ describe('Index Page', () => {
88

99
// Check translated welcome text from i18n
1010
expect(wrapper.html()).toContain('Welcome to Raven');
11-
12-
// Check rendered button text (uses $t('testButton'))
13-
expect(wrapper.html()).toContain('Test Button');
1411
});
1512
});

0 commit comments

Comments
 (0)