Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
millicentachieng committed May 16, 2022
1 parent d45e529 commit 55e66d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/utils/query-parameter-sanitization.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@ describe('Sanitize Query Parameters should', () => {
},
{
check: 'returns sanitized value for complex $filter query option value with potential catastrophic backtracking',
// eslint-disable-next-line max-len
queryParam: '$filter=isof(\'microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry\') and microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry/isExpeditable eq true',
// eslint-disable-next-line max-len
sanitizedQueryParam: '$filter=isof(<property>) and microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry/isExpeditable eq <value>'
},

Expand Down

0 comments on commit 55e66d7

Please sign in to comment.