mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-15 00:11:15 +03:00
add error allowlist file for error collector
This commit is contained in:
parent
5d2a725428
commit
6ad7059a33
16
web/e2e/fixtures/error-allowlist.ts
Normal file
16
web/e2e/fixtures/error-allowlist.ts
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Global allowlist of regex patterns that the error collector ignores.
|
||||
*
|
||||
* Each entry MUST include a comment explaining what it silences and why.
|
||||
* The allowlist is filtered at collection time, so failure messages list
|
||||
* only unfiltered errors.
|
||||
*
|
||||
* Per-spec additions go through the `expectedErrors` test fixture parameter
|
||||
* (see error-collector.ts), not by editing this file. That keeps allowlist
|
||||
* drift visible per-PR rather than buried in shared infrastructure.
|
||||
*/
|
||||
|
||||
export const GLOBAL_ALLOWLIST: RegExp[] = [
|
||||
// No global entries yet. Add only after triaging which errors are
|
||||
// genuinely benign (e.g. dev-server pings) and which are real bugs.
|
||||
];
|
||||
Loading…
Reference in New Issue
Block a user