diff --git a/Makefile b/Makefile index f32486b4..9707a492 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,9 @@ t test: yarn compile yarn test:coverage +q test-quick: + yarn test:unit + s serve: fix yarn start diff --git a/docs/usage.md b/docs/usage.md index dbcef848..5ddc0038 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -49,14 +49,18 @@ Run unit tests. ```sh $ make test +$ # OR +$ make t ``` -That includes a step to compile to TypeScript, to give validation. Though the compiled output JS is not actually needed. +That includes a step to compile to TypeScript, to give type validation. Though the compiled output JS is not actually needed. To run tests without compilation and without code coverage, just run: ```sh -$ yarn test:unit +$ make test-quick +$ # OR +$ make q ``` The IDE should also give TypeScript errors as hints.