Skip to main content
Version: v4.x.x

Running tests in specific platforms​

npx poku
  • It runs Poku through Node.js and ensures that all tests are run with Node.js (or tsx for TypeScript tests).
bun poku
  • It runs Poku through Bun and ensures that all tests are run with Bun.
deno run npm:poku
  • It runs Poku through Deno and ensures that all tests are run with Deno.
tip

For TypeScript users, there's no need to install tsx for Bun and Deno, as they both run TypeScript natively.


Overriding the runtime​

If you face issues in environments with multiple runtimes installed, you can use the POKU_RUNTIME environment variable to explicitly set the runtime:

POKU_RUNTIME=node poku
POKU_RUNTIME=bun poku
POKU_RUNTIME=deno poku

Recommendations​

tip

It's usually beneficial to have an exclusive CI for each platform, especially to ensure better control in error cases.


note

If you find any typos, feel free to open a Pull Request correcting them.