Generate Jasmine specs for TypeScript files in Angular 2 projects.
This plugin will be available in the marketplace shortly. In the mean time, we can generate a .vsix file and install it manually:
cd /path/to/this/project npm install -g vsce npm install vsce package code --install-extension vscode-mockthis-0.2.2.vsix
ctrl+j
or cmd+j
Generate a spec file for the code file.
Command Palette -> Mock Everything
or
ctrl+alt+j
or cmd+alt+j
Generate a spec for the selected method.
Command Palette -> Mock This
or
ctrl+shift+j
or cmd+shift+j
- More options
- Generate mocks
- First release
MIT