mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
refactor: remove pnpm, fix tests
This commit is contained in:
parent
861ee5acd7
commit
e34b0c9aca
65 changed files with 353 additions and 2458 deletions
|
|
@ -44,13 +44,13 @@ local function describe(name: string, callback: () -> ())
|
|||
end
|
||||
|
||||
local function finish()
|
||||
print(`\n🔵 {tests - #errors} / {tests} tests passed\n`)
|
||||
local output = { `\n🔵 {tests - #errors} / {tests} tests passed\n` }
|
||||
|
||||
for _, result in results do
|
||||
print(result)
|
||||
table.insert(output, result)
|
||||
end
|
||||
|
||||
print()
|
||||
print(table.concat(output, "\n") .. "\n")
|
||||
|
||||
if #errors > 0 then
|
||||
error(`{#errors} test(s) failed:\n{table.concat(errors, "\n")}\n`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue