Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Mar 24, 2023
1 parent 31f3f5f commit da2483f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/backend/test/unit/ReactionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,19 @@ describe('ReactionService', () => {
});

test('fallback - undefined', async () => {
assert.strictEqual(await reactionService.toDbReaction(undefined), 'πŸ‘');
assert.strictEqual(await reactionService.toDbReaction(undefined), '❀');
});

test('fallback - null', async () => {
assert.strictEqual(await reactionService.toDbReaction(null), 'πŸ‘');
assert.strictEqual(await reactionService.toDbReaction(null), '❀');
});

test('fallback - empty', async () => {
assert.strictEqual(await reactionService.toDbReaction(''), 'πŸ‘');
assert.strictEqual(await reactionService.toDbReaction(''), '❀');
});

test('fallback - unknown', async () => {
assert.strictEqual(await reactionService.toDbReaction('unknown'), 'πŸ‘');
assert.strictEqual(await reactionService.toDbReaction('unknown'), '❀');
});
});
});

0 comments on commit da2483f

Please sign in to comment.