From b2cb4b399bb6a390802e96abcc6af8df88ac1fd2 Mon Sep 17 00:00:00 2001 From: haelyra <49814733+haelyra@users.noreply.github.com> Date: Fri, 6 Nov 2026 00:29:43 -0500 Subject: [PATCH] test: remove redundant coverage checkout assertion --- tests/ci/coverage-grok-history.test.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 tests/ci/coverage-grok-history.test.js diff --git a/tests/ci/coverage-grok-history.test.js b/tests/ci/coverage-grok-history.test.js deleted file mode 100644 index d16861225..000000000 --- a/tests/ci/coverage-grok-history.test.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -const assert = require('node:assert/strict'); -const fs = require('node:fs'); -const path = require('node:path'); -const test = require('node:test'); -const yaml = require('js-yaml'); - -test('coverage checkout includes pinned Grok source history', () => { - const workflowPath = path.join(__dirname, '..', '..', '.github', 'workflows', 'ci.yml'); - const workflow = yaml.load(fs.readFileSync(workflowPath, 'utf8')); - const checkout = workflow.jobs.coverage.steps.find(step => step.name === 'Checkout'); - assert.ok(checkout, 'coverage job must check out source'); - assert.equal(checkout.with['fetch-depth'], 0, - 'coverage tests verify historical Grok source pins and need complete Git history'); -});