Skip to content

Commit 7957858

Browse files
chore(deps-dev): bump chai from 4.5.0 to 5.1.2 (#300)
* chore(deps-dev): bump chai from 4.5.0 to 5.1.2 Bumps [chai](https://github.com/chaijs/chai) from 4.5.0 to 5.1.2. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/main/History.md) - [Commits](chaijs/chai@v4.5.0...v5.1.2) --- updated-dependencies: - dependency-name: chai dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * migrate to chai@5 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: uiolee <[email protected]>
1 parent 595814d commit 7957858

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.mocharc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
color: true
2+
require:
3+
- "chai/register-should.js"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"devDependencies": {
4040
"c8": "^10.1.2",
41-
"chai": "^4.3.7",
41+
"chai": "^5.1.2",
4242
"eslint": "^8.57.0",
4343
"eslint-config-hexo": "^5.0.0",
4444
"hexo": "^7.1.1",

test/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use strict';
22

3-
require('chai').should();
43
const { encodeURL, escapeHTML, url_for } = require('hexo-util');
54
const Hexo = require('hexo');
65
const { join } = require('path').posix;

0 commit comments

Comments
 (0)