Skip to content

Commit a69590d

Browse files
committed
fix: broken test
1 parent 0c9c15a commit a69590d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/typescript/selector-custom-types/useTranslation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('useTranslation', () => {
3535

3636
it(`raises a TypeError given a namespace that doesn't exist`, () => {
3737
// @ts-expect-error
38-
const [t] = useTranslation(($) => $.fake);
38+
useTranslation('fake');
3939
});
4040

4141
it(`raises a TypeError given a key that's not in the namespace`, () => {

0 commit comments

Comments
 (0)