Skip to content

Draft: Migrate to esm #4229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 35 commits into
base: 4.x
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
024ec5b
WIP
kobenguyent Feb 20, 2024
4e28312
fix: more UTs
kobenguyent Feb 20, 2024
0cc967e
fix: more tests
kobenguyent Feb 21, 2024
f535d49
fix: more tests
kobenguyent Feb 21, 2024
33ccd9b
fix: more tests
kobenguyent Feb 22, 2024
41e22d3
fix: unit tests
kobenguyent Feb 22, 2024
2b404b0
fix: unit tests
kobenguyent Feb 22, 2024
462e1de
fix: output module
kobenguyent Feb 23, 2024
e46c79b
fix: runner tests
kobenguyent Feb 23, 2024
82d892b
fix: more runner tests
kobenguyent Feb 23, 2024
1c790ee
fix: more runner tests
kobenguyent Feb 23, 2024
2f1cfe6
Merge branch '3.x' into migrate-to-esm
kobenguyent Mar 6, 2024
8115f4a
fix: MockServer_test.js
kobenguyent Mar 6, 2024
c09919c
fix: more tests and export __dirname
kobenguyent Mar 7, 2024
afd5245
fix: more test/unit
kobenguyent Mar 7, 2024
733de43
fix: tryTo plugin
kobenguyent Mar 7, 2024
5b1f101
fix: tryTo plugin
kobenguyent Mar 7, 2024
9bea75d
fix: tryTo plugin
kobenguyent Mar 7, 2024
d55aaed
fix: tryTo plugin
kobenguyent Mar 7, 2024
f4129b1
fix: fixDefFiles.js
kobenguyent Mar 7, 2024
81c103d
fix: bdd_test
kobenguyent Mar 11, 2024
ac57fea
merged with 3.x branch
kobenguyent Mar 30, 2024
37d4c21
try to fix plugin tests
kobenguyent Mar 30, 2024
35584c4
bump monocart coverage version
kobenguyent Mar 31, 2024
9860591
fix: conflicts
kobenguyent Apr 2, 2024
0601089
fix: failed UTs
kobenguyent Apr 2, 2024
7cb26c7
fix tests
kobenguyent Apr 8, 2024
1c8318f
fix: help_test.js
kobenguyent Apr 19, 2024
fb98821
fix some dry-run tests
kobenguyent Apr 19, 2024
2b62f7b
fix conflict
kobenguyent Sep 23, 2024
79f012b
fix: soft expect helper tests
kobenguyent Sep 23, 2024
a7e5a76
fix: screenshotOnFail tests
kobenguyent Sep 23, 2024
8e2fc37
fix: codepcept-js code and types
kobenguyent Sep 23, 2024
6f5f03b
fix: gherkin_test and scenario stale test
kobenguyent Sep 23, 2024
b5f9f3a
fix: actions, playwright, pw_test, stepbystep report, webapi
kobenguyent Sep 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch '3.x' into migrate-to-esm
  • Loading branch information
kobenguyent authored Mar 6, 2024
commit 2f1cfe6354e2e52f4449ad0c3e03d481c3614879
20 changes: 11 additions & 9 deletions lib/command/dryRun.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,17 @@ function printTests(files) {
}
}
}
}
const displayedSuites = process.env.grep ? filteredSuites : mocha.suite.suites;
for (const suite of displayedSuites) {
output.print(`${colors.white.bold(suite.title)} -- ${output.output.styles.log(suite.file || '')} -- ${suite.tests.length} tests`);
numOfSuites++;

for (const test of suite.tests) {
numOfTests++;
output.print(` ${output.output.styles.scenario(figures.checkboxOff)} ${test.title}`);
numOfSuites = countSuites(outputString);
} else {
for (const suite of mocha.suite.suites) {
output.print(`${colors.white.bold(suite.title)} -- ${output.styles.log(suite.file || '')} -- ${mocha.suite.suites.length} tests`);
numOfSuites++;

for (test of suite.tests) {
numOfTests++;
output.print(` ${output.styles.scenario(figures.checkboxOff)} ${test.title}`);
}

}
}

Expand Down
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,12 @@
"node": ">=16.0",
"npm": ">=5.6.0"
},
"type": "module"
"type": "module",
"es6": true,
"tsd": {
"directory": "typings",
"compilerOptions": {
"strict": false
}
}
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"noImplicitThis": false,
"noEmit": true,
"strictNullChecks": true,
"moduleDetection": "force"
},
"exclude": ["node_modules", "typings/tests"],
"compileOnSave": true,
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.