1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-25 23:44:57 +02:00
Files
misskey/packages/frontend/test/e2e/ignorable-errors.ts
かっこかり 9472e72678 enhance(frontend/test): frontend e2eをPlaywrightに移行 (#17682)
* 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
2026-07-08 20:58:02 +09:00

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));
}