We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ce95d8 commit 64c864cCopy full SHA for 64c864c
src/types/Patterns.test.ts
@@ -32,6 +32,7 @@ import {
32
isSearchUserEmail,
33
isValidAppOverviewSearch,
34
isValidPhone,
35
+ isValidAppOverviewSearch,
36
} from './Patterns'
37
38
const TESTDATA = {
@@ -379,4 +380,12 @@ describe('Input Pattern Tests', () => {
379
380
expect(isValidPhone(expr)).toBe(false)
381
})
382
383
+ it('validate appoverview search', () => {
384
+ TESTDATA.appOverview.valid.forEach((expr) => {
385
+ expect(isValidAppOverviewSearch(expr)).toBe(true)
386
+ })
387
+ TESTDATA.appOverview.invalid.forEach((expr) => {
388
+ expect(isValidAppOverviewSearch(expr)).toBe(false)
389
390
391
0 commit comments