mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 05:13:07 +02:00
fix test
This commit is contained in:
parent
31f3f5f0f0
commit
da2483f7fe
1 changed files with 4 additions and 4 deletions
|
@ -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'), '❤');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue