34 lines
638 B
JSON
34 lines
638 B
JSON
{
|
|
"Lua setup-module": {
|
|
"prefix": "msetup",
|
|
"description": "Create lua module with setup function inside",
|
|
"body": [
|
|
"local M = {}",
|
|
"",
|
|
"function M.setup()",
|
|
" $0",
|
|
"end",
|
|
"",
|
|
"return M"
|
|
]
|
|
},
|
|
"Busted describe": {
|
|
"prefix": "describe",
|
|
"description": "Create a describe call for a busted test",
|
|
"body": [
|
|
"describe(\"$1\", function ()",
|
|
"\t$0",
|
|
"end)"
|
|
]
|
|
},
|
|
"Busted it": {
|
|
"prefix": "it",
|
|
"description": "Create an it call for a busted test",
|
|
"body": [
|
|
"it(\"$1\", function ()",
|
|
"\t$0",
|
|
"end)"
|
|
]
|
|
}
|
|
}
|