ignore empty CW with creating / editing notes

This commit is contained in:
Hazelnoot 2025-03-03 01:24:40 -05:00
parent e44623d7c9
commit 908271c995
3 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ describe('api:notes/create', () => {
test('0 characters cw', () => {
expect(v({ text: 'Body', cw: '' }))
.toBe(INVALID);
.toBe(VALID);
});
test('reject only cw', () => {