Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Mar 6, 2024
1 parent 50973c3 commit 52babf0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions code/lib/manager-api/src/tests/url.test.js
Expand Up @@ -14,7 +14,7 @@ describe('initial state', () => {
describe('config query parameters', () => {
it('handles full parameter', () => {
const navigate = vi.fn();
const location = { search: new URLSearchParams(({ full: '1' })).toString() };
const location = { search: new URLSearchParams({ full: '1' }).toString() };

const {
state: { layout },
Expand All @@ -29,7 +29,7 @@ describe('initial state', () => {

it('handles nav parameter', () => {
const navigate = vi.fn();
const location = { search: new URLSearchParams(({ nav: '0' })).toString() };
const location = { search: new URLSearchParams({ nav: '0' }).toString() };

const {
state: { layout },
Expand All @@ -40,7 +40,7 @@ describe('initial state', () => {

it('handles shortcuts parameter', () => {
const navigate = vi.fn();
const location = { search: new URLSearchParams(({ shortcuts: '0' })).toString() };
const location = { search: new URLSearchParams({ shortcuts: '0' }).toString() };

const {
state: { ui },
Expand All @@ -51,7 +51,7 @@ describe('initial state', () => {

it('handles panel parameter, bottom', () => {
const navigate = vi.fn();
const location = { search: new URLSearchParams(({ panel: 'bottom' })).toString() };
const location = { search: new URLSearchParams({ panel: 'bottom' }).toString() };

const {
state: { layout },
Expand All @@ -62,7 +62,7 @@ describe('initial state', () => {

it('handles panel parameter, right', () => {
const navigate = vi.fn();
const location = { search: new URLSearchParams(({ panel: 'right' })).toString() };
const location = { search: new URLSearchParams({ panel: 'right' }).toString() };

const {
state: { layout },
Expand All @@ -73,7 +73,7 @@ describe('initial state', () => {

it('handles panel parameter, 0', () => {
const navigate = vi.fn();
const location = { search: new URLSearchParams(({ panel: '0' })).toString() };
const location = { search: new URLSearchParams({ panel: '0' }).toString() };

const {
state: { layout },
Expand Down

0 comments on commit 52babf0

Please sign in to comment.