Skip to content

Commit

Permalink
Fix expected test result, typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxswa committed May 1, 2021
1 parent a406502 commit 3a6671d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions __tests__/hiscores.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,13 @@ test('Get attack top page', async () => {
xp: 200000000,
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),
rank: 4,
Expand Down Expand Up @@ -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);
getStats('fishy').catch((err) => {
if (err.response) {
Expand Down

0 comments on commit 3a6671d

Please sign in to comment.