ts-tests of omni-executor
- Install nvm
- Inside the repository, run
nvm useto set the correct Node version.- If the version is not installed, run
nvm install.
- If the version is not installed, run
Before running the ts-tests, the client-api types generation needs to be completed.
See client-api README.md
Note: Whenever the client-api is updated, it must be reinstalled, and it's best to clean node_modules(pnpm run clean) to prevent caching issues.
cd tee-worker/omni-executor/ts-tests
nvm use
corepack enable pnpm
pnpm install
Start parachain && omni-executor worker
pnpm --filter integration-tests run test your-testfile.test.ts