mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-11 03:43:30 +08:00
fix: keep hook root assertion strict on windows
This commit is contained in:
@@ -2224,11 +2224,7 @@ async function runTests() {
|
||||
const normalizedMetadataRoot = normalizeComparablePath(metadata.root);
|
||||
const normalizedRepoDir = normalizeComparablePath(repoDir);
|
||||
assert.ok(normalizedMetadataRoot, 'project.json should include a non-empty repo root');
|
||||
assert.strictEqual(
|
||||
path.basename(normalizedMetadataRoot),
|
||||
path.basename(normalizedRepoDir),
|
||||
'project.json should include the repo root',
|
||||
);
|
||||
assert.strictEqual(normalizedMetadataRoot, normalizedRepoDir, 'project.json should include the repo root');
|
||||
assert.strictEqual(metadata.remote, 'https://github.com/example/ecc-test.git', 'project.json should include the sanitized remote');
|
||||
assert.ok(metadata.created_at, 'project.json should include created_at');
|
||||
assert.ok(metadata.last_seen, 'project.json should include last_seen');
|
||||
|
||||
Reference in New Issue
Block a user