You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/shared/types.ts
Contains interfaces and types and enums that are not exported (not a module).
Types and interfaces are picked up by ts-mocha but not the enums.
Everything works fine when running server directly with ts-node.
aside: the path to ./src and /src are different because the relative path does not work on ts-mocha but /src does
The text was updated successfully, but these errors were encountered:
using ts-node
ENV_FILE=development ts-node --inspect -r ts-node/register -r ./src/shared/types -r ./env -r tsconfig-paths/register src/start.ts
using ts-mocha
NODE_ENV=development nyc ts-mocha -r ./env -r src/shared/types --paths ./tests/**/*.ts --exit"
src/shared/types.ts
Contains interfaces and types and enums that are not exported (not a module).
Types and interfaces are picked up by ts-mocha but not the enums.
Everything works fine when running server directly with ts-node.
aside: the path to ./src and /src are different because the relative path does not work on ts-mocha but /src does
The text was updated successfully, but these errors were encountered: