Skip to content

Commit

Permalink
Added a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Aug 4, 2023
1 parent 326d15f commit 5c928a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/src/L10nWrapper.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ describe("L10nWrapper", () => {
});

describe("when the Cockpit language is not set", () => {
// so far this is only done in "test" and "development" environments,
// not in "production"!!
it("sets the preferred language from browser and reloads", () => {
render(<L10nWrapper>Testing content</L10nWrapper>);

Expand Down

0 comments on commit 5c928a1

Please sign in to comment.