Skip to content

Commit

Permalink
tests(busted): make all setup() and teardown() calls lazy
Browse files Browse the repository at this point in the history
This turns on the `--lazy` flag for busted, which has the effect of
making all `setup()` and `teardown()` invocations behave as
`lazy_setup()` and `lazy_teardown()`.
  • Loading branch information
flrgh committed Dec 6, 2024
1 parent 10ed044 commit e20b214
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .busted
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
return {
default = {
lpath = "./?.lua;./?/init.lua;"
lpath = "./?.lua;./?/init.lua;",
-- make setup() and teardown() behave like their lazy_ variants
lazy = true,
}
}

0 comments on commit e20b214

Please sign in to comment.