From 6365b4121ef2bee0d48f6dd196b7f3748d327cd0 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Tue, 12 Nov 2024 20:20:55 +0530 Subject: [PATCH] chore(lune): migrate tests runner to use official frktest package --- .lune/test.luau | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.lune/test.luau b/.lune/test.luau index bbe400e..344ab13 100644 --- a/.lune/test.luau +++ b/.lune/test.luau @@ -11,14 +11,14 @@ local frktest = require("@pkg/frktest") local require = require :: (path: string) -> () -> () if process.args[1] ~= nil then - require("../tests/" .. process.args[1])() + require("../tests/" .. process.args[1])() else - for _, test in fs.readDir("tests") do - require("../tests/" .. test)() - end + for _, test in fs.readDir("tests") do + require("../tests/" .. test)() + end end -frktest.reporters.lune.init() -if not frktest.core.run() then - process.exit(1) +frktest._reporters.lune_console_reporter.init() +if not frktest.run() then + process.exit(1) end