Skip to content

Commit

Permalink
Split comment across two lines
Browse files Browse the repository at this point in the history
To prevent an eslint warning about the line length that’s showing up on
every pull request (under “Unchanged files with check annotations”) and
starting to get annoying.

Bug: T349652
Bug: T350664
  • Loading branch information
lucaswerkmeister committed Nov 14, 2023
1 parent 7eb67a3 commit 3d54606
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/store/actions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ describe( 'HANDLE_LANGUAGE_CHANGE', () => {
} );

it( 'validates and sets to state if valid lang code was returned', async () => {
// T349652: en-GB from item (preferred IETF lanugage tag format) is lowercased to en-gb (MediaWiki code)
// T349652: en-GB from item (preferred IETF lanugage tag format)
// is lowercased to en-gb (MediaWiki code)
const getLanguageCodeFromItemMock = jest.fn().mockResolvedValue( 'en-GB' );
const isValidMock = jest.fn().mockReturnValue( true );
const actions = createActions(
Expand Down

0 comments on commit 3d54606

Please sign in to comment.