Created
March 24, 2021 22:30
-
-
Save mayronceccon/bc7513c36d58719cf5e27e22631c9588 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "jest-full": { | |
| "scope": "javascript,typescript", | |
| "prefix": "jest-full", | |
| "body": [ | |
| "describe( 'Tests for \"$1\" class', () => {", | |
| " describe( 'Tests for the \"$2\" method', () => {", | |
| " it ( 'SHOULD return \"$3\" WHEN \"$4\"', () => {", | |
| " // TODO", | |
| " expect(true).toBeTruthy()", | |
| " } )", | |
| " } )", | |
| "} )", | |
| ], | |
| "description": "jest-full" | |
| }, | |
| "jest-describe-class": { | |
| "scope": "javascript,typescript", | |
| "prefix": "jest-describe-class", | |
| "body": [ | |
| "describe( 'Tests for \"$1\" class', () => {", | |
| " // TODO", | |
| "} )", | |
| ], | |
| "description": "jest-describe-class" | |
| }, | |
| "jest-describe-method": { | |
| "scope": "javascript,typescript", | |
| "prefix": "jest-describe-method", | |
| "body": [ | |
| "describe( 'Tests for the \"$1\" method', () => {", | |
| " // TODO", | |
| "} )", | |
| ], | |
| "description": "jest-describe-method" | |
| }, | |
| "jest-it": { | |
| "scope": "javascript,typescript", | |
| "prefix": "jest-it", | |
| "body": [ | |
| "it ( 'SHOULD return \"$1\" WHEN \"$2\"', () => {", | |
| " // TODO", | |
| " expect(true).toBeTruthy()", | |
| "} )", | |
| ], | |
| "description": "jest-it" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment