improve code quality and user experience
This commit is contained in:
@@ -12,6 +12,7 @@ import fs from "fs";
|
||||
import path from "path";
|
||||
import ora from "ora";
|
||||
import config, { TIMEOUTS, TEST_URLS } from "./config.js";
|
||||
import { runHelperTests } from "./unit/helpers.test.js";
|
||||
|
||||
class PakeTestRunner {
|
||||
constructor() {
|
||||
@@ -42,6 +43,12 @@ class PakeTestRunner {
|
||||
console.log("📋 Running Unit Tests...");
|
||||
await this.runUnitTests();
|
||||
testCount++;
|
||||
|
||||
// Run helper function tests
|
||||
const helperTestsPassed = await runHelperTests();
|
||||
if (!helperTestsPassed) {
|
||||
console.log("⚠️ Some helper tests failed");
|
||||
}
|
||||
}
|
||||
|
||||
if (integration && !quick) {
|
||||
|
||||
Reference in New Issue
Block a user