Getting the code
- Clone this repository
git clone https://github.com/jespertheend/fake-imports.git
cd fake-imports
Running tests
deno task test
Or if you wish to only run a specific test:
deno task test test/unit/src/ImportResolver.test.js
To debug tests:
deno task test test/unit/src/ImportResolver.test.js --inspect-brk
Code style
When submitting a PR, you can run
deno task check
This runs the linter, formatter and finally all the tests. This is generally required to pass in order for ci to pass.