Skip to main content
Module

x/fake_imports/CONTRIBUTING.md

Fake, mock and stub modules.
Latest
File

Getting the code

  1. Clone this repository
git clone https://github.com/jespertheend/fake-imports.git
cd fake-imports
  1. Install Deno

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.