Skip to content

Commit 095d07b

Browse files
committed
migrate to chai@5
1 parent 2ad4510 commit 095d07b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.mocharc.yml

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

test/index.js

-1
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)