Skip to content

Commit 76be50e

Browse files
committed
fix: 🐛fix test error
1 parent 2bd5b41 commit 76be50e

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/test/suite/index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@
22
* @Author : Robert Huang<56649783@qq.com> *
33
* @CreatedDate : 2023-02-04 20:42:10 *
44
* @LastEditors : Robert Huang<56649783@qq.com> *
5-
* @LastEditDate : 2026-01-18 12:02:08 *
5+
* @LastEditDate : 2026-01-18 14:53:57 *
66
* @FilePath : emoji-commit-tiny/src/test/suite/index.js *
77
* @CopyRight : MerBleueAviation *
88
****************************************************************************/
99

1010

11-
1211
const FastGlob = require('fast-glob');
1312
const Mocha = require('mocha');
1413
const path = require('path');
1514

16-
export async function run() {
15+
async function run() {
1716
const mocha = new Mocha({
1817
ui: 'tdd',
1918
color: true
@@ -41,4 +40,6 @@ export async function run() {
4140
console.error(err);
4241
throw err;
4342
}
44-
}
43+
}
44+
45+
module.exports = { run };

0 commit comments

Comments
 (0)