Closed paceaux closed 1 year ago
logger was updated, but doesn't have enough jsdoced stuff. come on man.
Yeah most of the tests are failing. All of the tests that rely on anything where logger is injected will have a problem.
Most of the tests are passing again. They were failing because of the import '#whatever'
syntax that was in chalk. This was a known issue in Jest By updating Jest, most unit tests pass.
Only test suite failing to run is selector-finder.puppeteer.test.js:
The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string.
Consider using the "jsdom" test environment.
ReferenceError: navigator is not defined
at node_modules/boxen/node_modules/chalk/source/vendor/supports-color/browser.js:4:2
at node_modules/boxen/node_modules/chalk/source/vendor/supports-color/browser.js:16:3
Finally got all tests passing with correctly importing the proper environment and then doing proper setup.
Let's merge it!
Adds a new dependency for making fancy boxes Adds actual icons in the cli instead of whatever that was before. Makes the final result a tad more colorful