diff options
Diffstat (limited to 'frontend-vanilla')
| -rw-r--r-- | frontend-vanilla/src/mobile-overflow.test.ts | 2 | ||||
| -rw-r--r-- | frontend-vanilla/tsconfig.json | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/frontend-vanilla/src/mobile-overflow.test.ts b/frontend-vanilla/src/mobile-overflow.test.ts index ec421d5..516d787 100644 --- a/frontend-vanilla/src/mobile-overflow.test.ts +++ b/frontend-vanilla/src/mobile-overflow.test.ts @@ -52,7 +52,7 @@ describe('Mobile horizontal overflow prevention', () => { ); expect(itemDescBlock).not.toBeNull(); const mainBlock = itemDescBlock!.find( - block => !block.includes('img') && !block.includes('video') && !block.includes('pre') && !block.includes(' a') + (block: string) => !block.includes('img') && !block.includes('video') && !block.includes('pre') && !block.includes(' a') ); expect(mainBlock).toBeDefined(); expect(mainBlock).toMatch(/overflow-x:\s*hidden/); diff --git a/frontend-vanilla/tsconfig.json b/frontend-vanilla/tsconfig.json index 4ba8dd9..72af398 100644 --- a/frontend-vanilla/tsconfig.json +++ b/frontend-vanilla/tsconfig.json @@ -22,5 +22,6 @@ "noFallthroughCasesInSwitch": true, "noUncheckedSideEffectImports": true }, - "include": ["src"] + "include": ["src"], + "exclude": ["src/**/*.test.ts", "src/**/*.perf.test.ts", "src/setupTests.ts"] } |
