From 65869205ac6f9f6d53a27e1d26977d5e79c2da97 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Thu, 17 Nov 2016 00:38:59 +0000 Subject: [PATCH] Add test info to readme --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 278df2f..15ffe78 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,24 @@ Then source it in your `.zshrc` (or `.bashrc`) source ~/.zsh-nvm/zsh-nvm.plugin.zsh ``` +## Tests + +To run the tests you'll need to install [Urchin](https://github.com/tlevine/urchin#install). You'll also need to run the tests in an environment that doesn't already have `node` or `nvm` loaded. + +You can remove `nvm` from the existing session with: + +```shell +nvm deactivate && nvm unload +``` + +Run the tests with: + +```shell +urchin -s zsh tests +``` + + + ## Related - [`zsh-better-npm-completion`](https://github.com/lukechilds/zsh-better-npm-completion) - Better completion for `npm`