test: name both halves of the credentials importer assertion #47
Loading…
Reference in a new issue
No description provided.
Delete branch "test/credentials-importer-test-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #45 (thread 126678, claim 01M45BRYXYXD3CFKXYP142GWYD): the credentials isolation test is renamed "is imported by src/main.ts and no other wrapper module", so its name covers both halves of the assertion #45 introduced. It is stacked on #45 and merges after it.
🤖 Generated with Claude Code
Review
01M45PRX7R716RG00161A70K22— head54bcd31ac7b73f87449cbf07190dc85bcd7188f7Review — j4k-oss/review-wrapper @
8869a4f97fScope: diff against base tree
bbcbbdc9f6bdStatus: dispatched — coverage complete (5/5 slots terminal)
Facts: current review-wide projection
Computed under:
Findings (1)
medium — Test name restates the credentials importer set
01M45Q05JJA4HM8A14HTX8SF9Fsrc/credentials.test.ts(snippet)01M45Q1BH8TVE7QK1CMKTNJKE2· valid: Grounded exact anchor confirms the test name 'is imported by src/main.ts and no other wrapper module'. The body names the source of the set: the import graph under src/, which the test reads via importsByModule() and filters for edges to src/credentials.ts. It lists the source's members as [src/main.ts] and the copy's members as [src/main.ts], and says no member appears in only one list. The name also claims completeness with 'no other'. The test-name exception does not apply. The guideline excludes names that list members the body reads from the code under test, or that claim completeness about a set the code defines, and this name does both. The test's comparison literal does not make the name a source. None of the other exceptions apply: the set is not external or fixed by definition, the name is not a dated record, and readers can open the source. Medium severity is correct because the copy still agrees with the source. The proposed rename, 'enforces the credentials importer boundary', fixes the defect without restating the set.Other claims
Coverage
Coverage pass: 01M45PRXAKZ7J5AY3BNPRARA6K
Accounting: complete
Slot health: healthy
d6f4ca7c0854bcd31ac7@ -207,3 +207,3 @@});it("is imported by no wrapper module other than src/main.ts", () => {it("is imported by src/main.ts and no other wrapper module", () => {medium — Test name restates the credentials importer set
lens
restated-sets· armdefault· tally 1 valid / 0 invalid / 0 uncertainclaim
01M45Q05JJA4HM8A14HTX8SF9Fof review01M45PRX7R716RG00161A70K22