Fix expected test result, typo.

This commit is contained in:
maxswa
2021-05-01 14:16:38 -04:00
parent a4065022d6
commit 3a6671d3d1

View File

@@ -230,7 +230,13 @@ test('Get attack top page', async () => {
xp: 200000000, xp: 200000000,
dead: false dead: false
}, },
{ name: 'Drakon', rank: 3, level: 99, xp: 200000000, dead: false }, {
name: expect.any(String),
rank: 3,
level: 99,
xp: 200000000,
dead: false
},
{ {
name: expect.any(String), name: expect.any(String),
rank: 4, rank: 4,
@@ -388,7 +394,7 @@ test('Get attack top page', async () => {
]); ]);
}); });
test('Get non-existant player', async () => { test('Get non-existent player', async () => {
jest.setTimeout(30000); jest.setTimeout(30000);
getStats('fishy').catch((err) => { getStats('fishy').catch((err) => {
if (err.response) { if (err.response) {