Skip to content

bguzmanrio/jasmine-autocompleter-bracketsio

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 

jasmine-autocompleter-bracketsio

Simple Jasmine autocompleter to make easier your day by day testing

Usage

You just have to write the following pattern to be recognized by the extension and fill it:

  • method:Here goes the description

In case of the spyOn method, the pattern changes a bit:

  • method:full.path.to.the.function

To have the pattern autocompleted by the extension, press Ctrl + Shift + J

At version 0.1.0, there are few jasmine shortcuts implemented:

  • describe: would be recognized as 'd', 'desc' and 'describe'
    • d:Test suite 1
    • desc:Test suite 1
    • describe:Test suite 1
  • it: would be recognized as 'i', 'it' and 't'
    • i:test case 1
    • t:test case 1
    • it:test case 1
  • beforeEach: would be recognized as 'be', 'each', 'beforeeach' and 'beforeEach'
    • be:
    • each:
    • beforeeach:
    • beforeEach:
  • spyOn: would be recognized as 'so', 'spy', 'spyon' and 'spyOn'
    • so:full.path.to.the.function
    • spy:full.path.to.the.function
    • spyon:full.path.to.the.function
    • spyOn:full.path.to.the.function

About

Simple Jasmine autocompleter to make easier your day by day testing

Resources

License

Stars

Watchers

Forks

Packages

No packages published