Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwcnewton/jasmine-visualstudio-snippets
Jasmine Code snippets for Visual Studio :scissors: :scissors:
https://github.com/jwcnewton/jasmine-visualstudio-snippets
jasmine jasmine-visualstudio-snippets snippets visual-studio
Last synced: 13 days ago
JSON representation
Jasmine Code snippets for Visual Studio :scissors: :scissors:
- Host: GitHub
- URL: https://github.com/jwcnewton/jasmine-visualstudio-snippets
- Owner: jwcnewton
- Created: 2017-08-23T11:04:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-01T11:04:13.000Z (about 7 years ago)
- Last Synced: 2024-10-10T14:19:26.365Z (2 months ago)
- Topics: jasmine, jasmine-visualstudio-snippets, snippets, visual-studio
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jasmine-VisualStudio-Snippets
Jasmine Code snippets for Visual Studio :scissors: :scissors:Import Code Snippets
***
Bring up the code snippet menu in one of three ways:
1. Press CTRL+K, CTRL+X.
2. On the **Edit** menu, point to **IntelliSense**, and then click Insert **Snippet**.
3. Right-click the mouse and then select the **Insert Snippet** command on the shortcut menu.Select the import snippets and navigate to the snippets folder and import
## The snippets
> Create a new test suite.
> Command: **desc**
```javascript
describe("", function() {});
```
> Create a new test.
> Command: **it**
```javascript
it("", function() {
// Arrange// Act
// Assert
});
```
> Create before each suite life cycle hook
> Command: **beforeE**
```javascript
beforeEach(function() {});
```
> Create after each suite life cycle hook
> Command: **afterE**
```javascript
afterEach(function() {});
```
> Create before all suite life cycle hook
> Command: **beforeA**
```javascript
beforeAll(function() {});
```
> Create after all suite life cycle hook
> Command: **afterA**
```javascript
afterAll(function() {});
```