You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running bolt test while in electron-forge/packages/plugin/webpack runs its tests
Actual Behavior
Running bolt test while in electron-forge/packages/plugin/webpack fails. This is because the test command for webpack still uses the deprecated --opts ../../../mocha.opts argument (additinally that file was removed in 83bfe97).
Test Command: mocha --require ts-node/register test/**/*_spec.ts test/**/**/*_spec.ts --opts ../../../mocha.opts
Error:
✖ ERROR: --opts: configuring Mocha via 'mocha.opts' is DEPRECATED and no longer supported.
Please use a configuration file instead.
error Error
error at ChildProcess.<anonymous> (/home/iboyperson/.local/share/yarn/global/node_modules/bolt/dist/modern/utils/processes.js:128:16)
error at ChildProcess.emit (node:events:327:20)
error at maybeClose (node:internal/child_process:1048:16)
error at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Issue Details
Expected Behavior
Running
bolt test
while inelectron-forge/packages/plugin/webpack
runs its testsActual Behavior
Running
bolt test
while inelectron-forge/packages/plugin/webpack
fails. This is because the test command for webpack still uses the deprecated--opts ../../../mocha.opts
argument (additinally that file was removed in 83bfe97).To Reproduce
electron-forge/packages/plugin/webpack
bolt test
Additional Information
Test Command:
mocha --require ts-node/register test/**/*_spec.ts test/**/**/*_spec.ts --opts ../../../mocha.opts
Error:
The text was updated successfully, but these errors were encountered: