mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
test: use lute for tests
This commit is contained in:
parent
72b290219d
commit
a20ee3698a
47 changed files with 190 additions and 236 deletions
29
tests/run.server.luau
Normal file
29
tests/run.server.luau
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
local Charm = require("../packages/charm/src")
|
||||
local test = require("./test")
|
||||
|
||||
Charm.flags.strict = true
|
||||
Charm.flags.frozen = true
|
||||
|
||||
local describeInRoblox = test.describeIf(function()
|
||||
return game :: any ~= nil
|
||||
end)
|
||||
|
||||
test.describe("charm", function()
|
||||
require("../packages/charm/src/__tests__")
|
||||
end)
|
||||
|
||||
test.describe("charm-sync", function()
|
||||
require("../packages/charm-sync/src/__tests__")
|
||||
end)
|
||||
|
||||
describeInRoblox("react-charm", function()
|
||||
require("../packages/react-charm/src/__tests__")
|
||||
end)
|
||||
|
||||
describeInRoblox("vide-charm", function()
|
||||
require("../packages/vide-charm/src/__tests__")
|
||||
end)
|
||||
|
||||
test.finish()
|
||||
|
||||
return {}
|
||||
1
tests/test
Submodule
1
tests/test
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 7ef2b88191af884d543e7392d50c7e2adc484e32
|
||||
Loading…
Add table
Add a link
Reference in a new issue