Files
cypress/packages/config/index.js
T
Barthélémy Ledoux 70e988f749 refactor: allow ts-node to be scoped (#20786)
* refactor: allow ts-node to be scoped

* fix: scope config project

* rename to registerDir

* finish the change

* style: fix comment spacing

* chore: add comment

Co-authored-by: Zach Bloomquist <git@chary.us>

Co-authored-by: Zach Bloomquist <git@chary.us>
2022-04-11 09:48:20 +10:00

6 lines
143 B
JavaScript

if (process.env.CYPRESS_INTERNAL_ENV !== 'production') {
require('@packages/ts/registerDir')(__dirname)
}
module.exports = require('./src')