Skip to content

Commit

Permalink
upgrade chai/mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
pdud committed May 3, 2022
1 parent ab97751 commit c65e8b7
Show file tree
Hide file tree
Showing 3 changed files with 224 additions and 163 deletions.
5 changes: 4 additions & 1 deletion node-tests/unit/total-time-test.js
Expand Up @@ -47,7 +47,10 @@ describe('totalTime', function () {
},
};

expect(totalTime(results).replace(/\D/g, '')).to.be.within(0, 200);
expect(parseInt(totalTime(results).replace(/\D/g, ''))).to.be.within(
0,
200
);
});
});

Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -40,7 +40,7 @@
"@glimmer/tracking": "^1.0.4",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"chai": "^1.10.0",
"chai": "^4.3.6",
"ember-cli": "~3.28.5",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-inject-live-reload": "^2.1.0",
Expand Down Expand Up @@ -68,7 +68,7 @@
"heimdalljs": "^0.2.6",
"loader.js": "^4.7.0",
"npm-run-all": "^4.1.5",
"mocha": "^2.1.0",
"mocha": "^10.0.0",
"prettier": "^2.5.1",
"qunit": "^2.17.2",
"qunit-dom": "^1.6.0"
Expand Down

0 comments on commit c65e8b7

Please sign in to comment.