Update create.test.ts

This commit is contained in:
syuilo 2023-09-29 16:41:03 +09:00
parent eb38f08e13
commit d92e2b6ae0

View file

@ -34,10 +34,11 @@ describe('api:notes/create', () => {
.toBe(VALID);
});
test('null post', () => {
expect(v({ text: null }))
.toBe(INVALID);
});
// TODO
//test('null post', () => {
// expect(v({ text: null }))
// .toBe(INVALID);
//});
test('0 characters post', () => {
expect(v({ text: '' }))