w3c / aria-at

Assistive Technology ARIA Experience Assessment
https://aria-at.netlify.app
Other
153 stars 28 forks source link

use a fork of cross-var with more up-to-date deps #1086

Closed outofambit closed 2 months ago

outofambit commented 2 months ago

Preview Tests

While running the yarn db-import-tests:dev step in the local database setup instructions from a fresh clone, I was getting the following error.

commands.json for v2 test format may not exist
Error found: Error: ENOENT: no such file or directory, scandir '/Users/outofambit/src/meta-aria/aria-at-app/server/scripts/import-tests/tmp/build/tests'
    at Object.readdirSync (node:fs:1527:3)
    at buildTestsAndCreateTestPlanVersions (/Users/outofambit/src/meta-aria/aria-at-app/server/scripts/import-tests/index.js:118:31)
    at async importTestPlanVersions (/Users/outofambit/src/meta-aria/aria-at-app/server/scripts/import-tests/index.js:80:7)
    at async /Users/outofambit/src/meta-aria/aria-at-app/node_modules/sequelize/lib/sequelize.js:506:18

@howard-e and I tracked it down to being an issue with a dependency of cross-var, which is effectively unmaintained and uses a very old set of babel packages. We found a fork where someone had fixed those issues and that fixed my error.