Update dimensions and media layout options to be per camera.

This commit is contained in:
Dermot Duffy
2024-03-06 23:08:32 -08:00
parent b8e2b3218e
commit 72eae2bf88
20 changed files with 375 additions and 294 deletions
+6 -6
View File
@@ -20,7 +20,6 @@ const FULL_COVERAGE_FILES_RELATIVE = [
'config-mgmt.ts',
'config/types.ts',
'const.ts',
'src/view/*.ts',
'types.ts',
'utils/action.ts',
'utils/audio.ts',
@@ -40,6 +39,7 @@ const FULL_COVERAGE_FILES_RELATIVE = [
'utils/substream.ts',
'utils/timer.ts',
'utils/zod.ts',
'view/*.ts',
];
interface Threshold {
@@ -80,13 +80,13 @@ export default defineConfig({
// Expected thresholds for anything that does not have 100% coverage
// yet.
statements: 15.54,
branches: 10.38,
functions: 16.18,
lines: 15.84,
statements: 10.67,
branches: 4.9,
functions: 7.81,
lines: 10.92,
...calculateFullCoverageThresholds(),
},
},
},
});
});