make test clones mini.test at a pinned version into deps/, once per version, and runs tests/**/*_spec.lua in-process before the old suites. Specs use describe/it/before_each with mini.test's expect, and each one starts from a reset editor through tests/helpers.lua. The export suite is the first one ported, as list_export_spec.lua.
19 lines
623 B
JSON
19 lines
623 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
|
|
"runtime.version": "LuaJIT",
|
|
"runtime.path": ["lua/?.lua", "lua/?/init.lua"],
|
|
"diagnostics.globals": ["vim", "describe", "it", "before_each", "after_each"],
|
|
"diagnostics.severity": {
|
|
"unused-local": "Warning",
|
|
"unused-function": "Warning",
|
|
"redefined-local": "Warning",
|
|
"lowercase-global": "Warning",
|
|
"unreachable-code": "Warning"
|
|
},
|
|
"diagnostics.neededFileStatus": {
|
|
"unreachable-code": "Any"
|
|
},
|
|
"workspace.checkThirdParty": false,
|
|
"workspace.ignoreDir": [".git", ".build", "deps"]
|
|
}
|