Skip to content

Commit 6050f61

Browse files
committed
style: fixes
1 parent 383cf96 commit 6050f61

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/plugin.spec.ts renamed to test/translate.spec.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ it('translates with $t mixin', async () => {
88
})
99

1010
it('translates with "trans" helper', async () => {
11-
const wrapper = await global.mountPlugin();
11+
await global.mountPlugin();
1212

1313
expect(trans('Welcome!')).toBe('Bem-vindo!');
1414
})
@@ -20,8 +20,7 @@ it('returns the same string given if it is not found on the lang file', async ()
2020
})
2121

2222
it('returns the given key if the key is not available on the lang', async () => {
23-
const wrapper = await global.mountPlugin(`<div />`, 'en');
24-
23+
await global.mountPlugin(`<div />`, 'en');
2524
expect(trans('Only Available on EN')).toBe('Only Available on EN');
2625

2726
await loadLanguageAsync('pt');
@@ -35,7 +34,7 @@ it('translates key with values with $t mixin', async () => {
3534
})
3635

3736
it('translates key with values with "trans" helper', async () => {
38-
const wrapper = await global.mountPlugin();
37+
await global.mountPlugin();
3938

4039
expect(trans('Welcome, :name!', { name: 'Francisco' }))
4140
.toBe('Bem-vindo, Francisco!')

0 commit comments

Comments
 (0)