Esri / arcgis-js-cli

CLI to build a template application and widgets using the ArcGIS API for JavaScript
Apache License 2.0
140 stars 31 forks source link

Migrate from Jest to Cypress #110

Closed odoe closed 1 year ago

odoe commented 2 years ago

Description

Jest doesn't quite play well with ESM yet, and the experience with having to mock isn't ideal. In testing, moving to Cypress has show to be much more flexible for unit testing. Might be able to implement e2e as well, but might be blocked by jsdom, will need more testing.

dasa commented 2 years ago

AVA 4 has full ESM support, so might be worth a look: https://github.com/avajs/ava/releases/tag/v4.0.0

odoe commented 1 year ago

Using vitest in template now