test: remove redundant coverage checkout assertion

This commit is contained in:
haelyra committed 2026-11-06 00:29:43 -05:00
1 parent 76cd245e8e
commit b2cb4b399b
1 file changed
-16
-16
View File
@@ -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');
});