testplane icon indicating copy to clipboard operation
testplane copied to clipboard

--require can't find local file

Open ValeryVS opened this issue 4 years ago • 1 comments

Можно взять файл из пакета --require ts-node/register

Но нельзя взять локальный файл --require ./test-require/index.js

Error: Cannot find module './test-require/index.js'

В mocha аналогичная опция позволяет импортировать локальные файлы тоже https://mochajs.org/#-require-module-r-module

ValeryVS avatar Aug 10 '20 13:08 ValeryVS

Hello.

I will look at this problem.

DudaGod avatar Mar 15 '21 20:03 DudaGod

Fixed here - https://github.com/gemini-testing/hermione/pull/797

DudaGod avatar Nov 02 '23 13:11 DudaGod