Skip to content

Commit

Permalink
Updated test script
Browse files Browse the repository at this point in the history
  • Loading branch information
SnaBe committed Jul 20, 2023
1 parent 0633044 commit abcd84a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "mocha --timeout 5000",
"test": "mocha --timeout 10000",
"lint": "eslint -c .eslintrc.js .",
"fix": "eslint -c .eslintrc.js . --fix"
},
Expand Down
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe('unusual-effects tests', () => {
// The result should be an array of Unusual effect objects
// and must have a length of 344 (240 cosmetic, 99 taunt and 5 weapon effects)
expect(result).to.be.an('array')
expect(result.length).to.equal(344)
expect(result.length).to.equal(364)
})
})

Expand All @@ -120,7 +120,7 @@ describe('unusual-effects tests', () => {
// Return type should be an Unusual effect object
it('should return an Unusual effect object', (done) => {
// A "random" Steam user's unique id
const user = '76561197977733292'
const user = '76561198122604075'

// Get that user's Team Fortress 2 inventory
community.getUserInventoryContents(user, 440, 2, true, (err, inventory) => {
Expand Down

0 comments on commit abcd84a

Please sign in to comment.