From 43f0f7ef8ae68afadde37f885901154ca2cb4b82 Mon Sep 17 00:00:00 2001 From: Grzegorz <19194188+farce1@users.noreply.github.com> Date: Sun, 14 Jun 2026 11:19:03 +0200 Subject: [PATCH] fix(test): run release-bump smoke tests under vitest, not node:test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit scripts/release-bump.test.mjs imported `test` from node:test, but the vitest config globs scripts/**/*.test.mjs — vitest found no suite and failed the run ("No test suite found"), turning the Frontend Checks CI job red. Import `test` from vitest instead; node:assert assertions still report failures correctly. All 6 release-bump smoke tests now run under the project suite. --- scripts/release-bump.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release-bump.test.mjs b/scripts/release-bump.test.mjs index 2fb184a..4229907 100644 --- a/scripts/release-bump.test.mjs +++ b/scripts/release-bump.test.mjs @@ -7,7 +7,7 @@ * dirty-tree refusal, missing-arg refusal, and bad-semver refusal. */ -import { test } from 'node:test'; +import { test } from 'vitest'; import assert from 'node:assert/strict'; import { execSync, spawnSync } from 'node:child_process'; import { mkdtempSync, writeFileSync, readFileSync, mkdirSync, copyFileSync } from 'node:fs';