|
1 | 1 | /** @jest-environment jsdom */ |
2 | 2 |
|
| 3 | +import { renderClient } from '../../jest/browser-utils'; |
3 | 4 | import { Helmet } from '../../src'; |
4 | 5 | import { HELMET_ATTRIBUTE } from '../../src/constants'; |
5 | | -import { renderClient } from '../../jest/browser-utils'; |
6 | 6 |
|
7 | 7 | describe('link tags', () => { |
8 | 8 | describe('API', () => { |
@@ -359,10 +359,10 @@ describe('link tags', () => { |
359 | 359 | // them is treated as the actual primary attribute. Does not look as |
360 | 360 | // a good, intuitive behavior to me... perhaps to be reworked. |
361 | 361 | // @ts-expect-error "pre-existing" |
362 | | - { rel: 'icon', sizes: '192x192', href: null }, // eslint-disable-line sort-keys |
| 362 | + { rel: 'icon', sizes: '192x192', href: null }, // eslint-disable-line perfectionist/sort-objects |
363 | 363 | { |
364 | 364 | rel: 'canonical', |
365 | | - href: 'http://localhost/helmet/component', // eslint-disable-line sort-keys |
| 365 | + href: 'http://localhost/helmet/component', // eslint-disable-line perfectionist/sort-objects |
366 | 366 | }, |
367 | 367 | ]} |
368 | 368 | />, |
@@ -647,7 +647,7 @@ describe('link tags', () => { |
647 | 647 | // them is treated as the actual primary attribute. Does not look as |
648 | 648 | // a good, intuitive behavior to me... perhaps to be reworked. |
649 | 649 | // @ts-expect-error "pre-existing" |
650 | | - href={null} // eslint-disable-line react/jsx-sort-props, @stylistic/jsx-sort-props |
| 650 | + href={null} // eslint-disable-line perfectionist/sort-jsx-props |
651 | 651 | /> |
652 | 652 | <link href="http://localhost/helmet/component" rel="canonical" /> |
653 | 653 | </Helmet>, |
|
0 commit comments