From a6befca845e52a346d81705bff40f8ba59159e11 Mon Sep 17 00:00:00 2001 From: Hazel K Date: Wed, 9 Oct 2024 16:20:03 -0400 Subject: [PATCH] clarify comment about MAX_NOTE_TEXT_LENGTH in tests --- packages/backend/test/e2e/note.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/test/e2e/note.ts b/packages/backend/test/e2e/note.ts index 2a8ec8e7de..7d91b60426 100644 --- a/packages/backend/test/e2e/note.ts +++ b/packages/backend/test/e2e/note.ts @@ -12,7 +12,7 @@ import { MiNote } from '@/models/Note.js'; import { api, castAsError, initTestDb, post, role, signup, uploadFile, uploadUrl } from '../utils.js'; import type * as misskey from 'misskey-js'; -// TODO: these tests are probably wrong for depending on this, but that's a problem for later. +// Important: this must match the value of maxNoteLength in .config/ci.yml! const MAX_NOTE_TEXT_LENGTH = 3000; describe('Note', () => {