Skip to content

Commit

Permalink
Linter issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
grgprarup committed Jun 27, 2023
1 parent 91b9672 commit b42912d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/web-pkg/src/composables/router/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type LocationQuery = Dictionary<QueryValue>
export type ParamValue = string

export const authContextValues = ['anonymous', 'user', 'idp', 'publicLink', 'hybrid'] as const
export type AuthContext = (typeof authContextValues)[number]
export type AuthContext = typeof authContextValues[number]

export interface WebRouteMeta extends RouteMeta {
title?: string
Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/support/objects/app-files/search/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ export const clearTagFilter = async ({ page }): Promise<void> => {
}

export const toggleSearchInFileContent = async ({ enableOrDisable, page }): Promise<void> => {
const selector = enableOrDisable === 'enable' ? enableSearchInFileContentSelector : disableSearchInFileContentSelector
const selector =
enableOrDisable === 'enable'
? enableSearchInFileContentSelector
: disableSearchInFileContentSelector
await page.locator(selector).click()
}

0 comments on commit b42912d

Please sign in to comment.