Skip to content

Commit 8d7adef

Browse files
sampottscursoragent
andcommitted
fix(core): use translations export in resolveControlAttrs test
englishTranslations was renamed to translations when en locale moved to a default export; the stale import broke typecheck and runtime test setup. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent fc108b2 commit 8d7adef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/core/src/core/ui/tests/resolve-control-attrs.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { describe, expect, it } from 'vitest';
22

3-
import { createTranslator, englishTranslations } from '../../i18n';
3+
import { createTranslator, translations } from '../../i18n';
44
import { resolveControlAttrs } from '../resolve-control-attrs';
55

66
describe('resolveControlAttrs', () => {
7-
const translator = createTranslator(englishTranslations, 'en');
7+
const translator = createTranslator(translations, 'en');
88

99
it('resolves aria-label and aria-valuetext with params', () => {
1010
const core = {

0 commit comments

Comments
 (0)