mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
test: add benchmarks, dev mode
This commit is contained in:
parent
3548ca5c58
commit
4586882d3c
6 changed files with 95 additions and 11 deletions
|
|
@ -1,6 +1,16 @@
|
|||
local reference = require(script.Parent.Parent.utils.reference)
|
||||
|
||||
return function()
|
||||
local previous = _G.__DEV__
|
||||
|
||||
beforeAll(function()
|
||||
_G.__DEV__ = true
|
||||
end)
|
||||
|
||||
afterAll(function()
|
||||
_G.__DEV__ = previous
|
||||
end)
|
||||
|
||||
afterEach(function()
|
||||
reference.clear()
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue