atom-javascript-snippets icon indicating copy to clipboard operation
atom-javascript-snippets copied to clipboard

inconvenient BDD snippet

Open magicdawn opened this issue 6 years ago • 1 comments

current

[ita] it asynchronous
it('${1:description}', function(done) {
    ${0:// body...}
});

[its] it synchronous
it('${1:description}', function() {
    ${0:// body...}
});

[itp] it pending
it('${1:description}');

suggest

it => synchronous style itc => callback style asynchronous style ita => async/await style asynchronous style

magicdawn avatar Mar 05 '19 03:03 magicdawn

I use atom user snippet override this. For who want this, see https://gist.github.com/magicdawn/c4d99c4d707e75590232#file-snippets-cson

magicdawn avatar Mar 05 '19 03:03 magicdawn