Skip to content

Commit 422fabc

Browse files
author
DavertMik
committed
translated runner tests to ESM
1 parent d43107b commit 422fabc

File tree

253 files changed

+1601
-2202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

253 files changed

+1601
-2202
lines changed

.mocharc.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
require: [path.join(__dirname, 'test', 'support', 'setup.cjs')],
5+
extension: ['js', 'mjs'],
6+
};

.mocharc.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

bin/codecept.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ const program = new Command()
44
import Codecept from '../lib/codecept.js'
55
import output from '../lib/output.js'
66
const { print, error } = output
7-
import commandUtils from '../lib/command/utils.js'
8-
const { printError } = commandUtils
7+
import { printError } from '../lib/command/utils.js'
98

109
const commandFlags = {
1110
ai: {

0 commit comments

Comments
 (0)