Skip to content

Commit

Permalink
Sandbox -> main (#1556)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas8448 authored Nov 26, 2024
2 parents e5b5c96 + ffba0e9 commit bc25f37
Show file tree
Hide file tree
Showing 3 changed files with 705 additions and 499 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('LanguageProvider-utils', () => {
expect(nbTranslationsKeys).toHaveLength(forventetLength)

const enTranslations = getTranslations('en')
expect(enTranslations['pageframework.title']).toBe('MANGLER_TEKST')
expect(enTranslations['pageframework.title']).toBe('Pension Calculator')
const enTranslationsKeys = Object.keys(enTranslations)
expect(enTranslationsKeys).toHaveLength(forventetLength)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('LanguageProvider', () => {

await waitFor(() => {
expect(screen.getByTestId('test-component')).toHaveTextContent(
'MANGLER_TEKST'
'Pension Calculator'
)
expect(document.documentElement.lang).toBe('en')
})
Expand Down
Loading

0 comments on commit bc25f37

Please sign in to comment.