mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-21 07:38:53 -05:00
10 lines
302 B
JavaScript
10 lines
302 B
JavaScript
// register TypeScript Node require hook
|
|
// https://github.com/TypeStrong/ts-node#programmatic-usage
|
|
const project = require('path').join(__dirname, '../tsconfig.json')
|
|
require('ts-node').register({
|
|
project
|
|
})
|
|
|
|
// do we need to prevent any other TypeScript hooks?
|
|
// like ../coffee/register.js does?
|