mirror of
				https://github.com/lukechilds/zsh-nvm.git
				synced 2025-10-30 14:46:28 +08:00 
			
		
		
		
	Add test info to readme
This commit is contained in:
		
							parent
							
								
									d3f0effced
								
							
						
					
					
						commit
						65869205ac
					
				
							
								
								
									
										18
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								README.md
									
									
									
									
									
								
							| @ -144,6 +144,24 @@ Then source it in your `.zshrc` (or `.bashrc`) | |||||||
| source ~/.zsh-nvm/zsh-nvm.plugin.zsh | 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 | ## Related | ||||||
| 
 | 
 | ||||||
| - [`zsh-better-npm-completion`](https://github.com/lukechilds/zsh-better-npm-completion) - Better completion for `npm` | - [`zsh-better-npm-completion`](https://github.com/lukechilds/zsh-better-npm-completion) - Better completion for `npm` | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Luke Childs
						Luke Childs