Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kanarikanaru committed Jan 17, 2025
1 parent 06e52b2 commit 372a038
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/backend/test/e2e/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@ describe('Note', () => {
});

test('検索できる', async () => {
const post = {
text: 'あ',
};

await api('notes/create', post, alice);
const res = await api('notes/search', {
query: 'test',
query: '',
}, alice);

assert.strictEqual(res.status, 200);
Expand Down

0 comments on commit 372a038

Please sign in to comment.