Pass the test obj to the test function

master
Frédéric Matte 2024-10-11 13:18:05 -04:00
parent a71feba251
commit 149be7074d
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ const metaltest = (title) => {
for (const test of tests) {
try {
for (const fn of before) await fn()
await test.fn()
await test.fn(test)
stats('success', test)
notify(reporters, 'success', test)
}