Public Access
feat(games): add coming badge for unreleased games
This commit is contained in:
1 parent
edeea5a43d
commit
c158909083
17 files changed
+169
-3
No files matched your search
@@ -43,6 +43,10 @@ describe('backlogShare', () => {
|
||||
expect(backlogShare({total: 3, byStatus: {BACKLOG: 2}})).toBe(67);
|
||||
});
|
||||
|
||||
it('uses the pile without coming games when Core sends it', () => {
|
||||
expect(backlogShare({total: 4, byStatus: {BACKLOG: 3}, pileGames: 1})).toBe(25);
|
||||
});
|
||||
|
||||
it('is 0 for an empty library', () => {
|
||||
expect(backlogShare({total: 0, byStatus: {BACKLOG: 0}})).toBe(0);
|
||||
expect(backlogShare(null)).toBe(0);
|
||||
|
||||
Reference in new issue
Block a user