chore: テストがすでにコメントで記述されていたのでそっちを使うことにする

This commit is contained in:
zyoshoka
2024-01-11 22:20:18 +09:00
parent 3d58ca90ae
commit a4f47e46ac
2 changed files with 4 additions and 12 deletions

View File

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