mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-07-25 14:24:58 +02:00
* enhance(frontend/test): frontend e2eをVitest Browser Modeに移行
* fix
* fix unit tests
* fix
* fix
* update playwright
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* perf
* Revert "perf"
This reverts commit e60e965c3c.
* fix
15 lines
445 B
TypeScript
15 lines
445 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export const IGNORABLE_ERROR_MESSAGES = [
|
|
'The source image cannot be decoded',
|
|
'ResizeObserver loop limit exceeded',
|
|
'ResizeObserver loop completed with undelivered notifications',
|
|
] as const;
|
|
|
|
export function isIgnorableErrorMessage(message: string): boolean {
|
|
return IGNORABLE_ERROR_MESSAGES.some((text) => message.includes(text));
|
|
}
|