test: add benchmarks, dev mode

This commit is contained in:
Richard 2024-03-02 02:41:30 -08:00
parent 3548ca5c58
commit 4586882d3c
6 changed files with 95 additions and 11 deletions

View file

@ -0,0 +1,11 @@
return function()
local previous = _G.__DEV__
beforeAll(function()
_G.__DEV__ = false -- prevent React errors
end)
afterAll(function()
_G.__DEV__ = previous
end)
end