summaryrefslogtreecommitdiff
path: root/meta/3rd/busted/config.lua
diff options
context:
space:
mode:
authorfesily <fesil@foxmail.com>2022-09-22 21:34:07 +0800
committerGitHub <noreply@github.com>2022-09-22 09:34:07 -0400
commit3ddd84c8ca307378a2c949377831efe7afa7a4ee (patch)
tree86b3bef0a13f7a2a1a1bfb694d04ae08b8b6b5ed /meta/3rd/busted/config.lua
parent7c6d63a56a86d329bd87f85a04b6abb41d46238c (diff)
downloadlua-language-server-3ddd84c8ca307378a2c949377831efe7afa7a4ee.zip
add: busted and luassert definitions (#1556)
* add meta 3rd: busted * add: tons of documentation * fix: mock return type - Also removed unnecessary unique type for stub instances * merge upstream * fix:add luassert top api * chore: cleanup and more aliases * add: array assertions * add: matchers * Move the file to the correct location * fix constructor * allow Infinite Nested API * add assert.string Co-authored-by: carsakiller <carsakiller@gmail.com> Co-authored-by: fesily <fesil@foxmail.com>
Diffstat (limited to 'meta/3rd/busted/config.lua')
-rw-r--r--meta/3rd/busted/config.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/3rd/busted/config.lua b/meta/3rd/busted/config.lua
new file mode 100644
index 00000000..9a0b09f3
--- /dev/null
+++ b/meta/3rd/busted/config.lua
@@ -0,0 +1,12 @@
+files = {
+ ".*_spec%.lua",
+ ".*_test%.lua",
+}
+
+configs = {
+ {
+ key = "Lua.workspace.library",
+ action = "add",
+ value = "${3rd}/luassert/library",
+ },
+}