Skip to content
Snippets Groups Projects
Commit da2483f7 authored by syuilo's avatar syuilo
Browse files

fix test

parent 31f3f5f0
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment