1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 22:38:30 +09:00
This commit is contained in:
syuilo 2023-03-24 19:09:02 +09:00
parent 31f3f5f0f0
commit da2483f7fe

View File

@ -74,19 +74,19 @@ describe('ReactionService', () => {
}); });
test('fallback - undefined', async () => { test('fallback - undefined', async () => {
assert.strictEqual(await reactionService.toDbReaction(undefined), '👍'); assert.strictEqual(await reactionService.toDbReaction(undefined), '');
}); });
test('fallback - null', async () => { test('fallback - null', async () => {
assert.strictEqual(await reactionService.toDbReaction(null), '👍'); assert.strictEqual(await reactionService.toDbReaction(null), '');
}); });
test('fallback - empty', async () => { test('fallback - empty', async () => {
assert.strictEqual(await reactionService.toDbReaction(''), '👍'); assert.strictEqual(await reactionService.toDbReaction(''), '');
}); });
test('fallback - unknown', async () => { test('fallback - unknown', async () => {
assert.strictEqual(await reactionService.toDbReaction('unknown'), '👍'); assert.strictEqual(await reactionService.toDbReaction('unknown'), '');
}); });
}); });
}); });