# init
nvm use
npm install
# action #1 start nestjs app
npm run start
# action #2 trigger controller with dynamic import
curl http://localhost:6556
# problem: jest cannot find module, but application worked fine
npm run test
> [email protected] test
> jest
FAIL src/app.controller.spec.ts
● Test suite failed to run
src/app.controller.ts:9:28 - error TS2307: Cannot find module '@lodestar/params' or its corresponding type declarations.
9 const p = await import('@lodestar/params')
~~~~~~~~~~~~~~~~~~
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 2.211 s
-
Notifications
You must be signed in to change notification settings - Fork 0
joaorodrigues-consensys/test-lodestart-libs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published