bulletproof-nodejs icon indicating copy to clipboard operation
bulletproof-nodejs copied to clipboard

Better testing project structure/ configuration?

Open Nikola-Milovic opened this issue 3 years ago • 1 comments

As it currently stands, you cannot import the source files and the things you want to test easily. You have to use absolute imports, you get no code completion, the types (interfaces for requests for example) are lost. And it doesn't even seem to work without a seperate tconfig file as you cannot do import froms . Does anyone have a testing setup with similar structure to this project that works? Preferably with relative imports, code completion and everything

Nikola-Milovic avatar Nov 22 '21 14:11 Nikola-Milovic

Closed it as it's a mocha issue, as the original project uses jest. Don't know if it applies then

Nikola-Milovic avatar Nov 22 '21 14:11 Nikola-Milovic