Skip to content

Commit

Permalink
fix CS2 achievements test
Browse files Browse the repository at this point in the history
I should probably replace the global achievements with a game that will probably never ever change its achievements. Probably.
  • Loading branch information
almic committed Sep 28, 2023
1 parent eec897b commit dd0c831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ async function run() {
let data = result.data

assert.ok(data.achievements, `Expected 'truthy' achievements object, result was ${util.inspect(data)}`)
assert.ok(data.achievements.KILLING_SPREE, `Expected 'KILLING_SPREE' in achievements object, result was ${util.inspect(data.achievements)}`)
assert.ok(data.achievements.PLAY_CS2, `Expected 'PLAY_CS2' in achievements object, result was ${util.inspect(data.achievements)}`)
})

await test('getCurrentPlayers', async function () {
Expand Down

0 comments on commit dd0c831

Please sign in to comment.