Skip to content

Commit

Permalink
chore/test: use chai#should (#4902)
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Feb 25, 2022
1 parent 1b824df commit 3e3c4ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .mocharc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ reporter: spec
ui: bdd
full-trace: true
exit: true
require:
- "chai/register-should"
parallel: true
3 changes: 2 additions & 1 deletion test/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

require('chai');
const chai = require('chai');
global.should = chai.should();

describe('Hexo', () => {
require('./scripts/box');
Expand Down

0 comments on commit 3e3c4ba

Please sign in to comment.