clarify comment about MAX_NOTE_TEXT_LENGTH in tests

This commit is contained in:
Hazel K 2024-10-09 16:20:03 -04:00 committed by Hazelnoot
parent 67185a5d5d
commit a6befca845

View file

@ -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', () => {