update name to match convention#296
Conversation
Recipe / Docs Test Harness — Contributor GuideDetected paths in this PR:
Architecture ReminderThe cookbook holds test harnesses only — the actual source code for each recipe lives in its own external repository (e.g. Expected ScaffoldingEach test harness directory should contain: Checklist
Useful Links
This is an automated comment and will update when you push new commits. |
|
Thanks for matching the convention here! Before this merges, the rename needs two follow-up edits — right now only the file is moved, but two places still hardcode the old 1. - include: ["tests/recipe.test.ts"],
+ include: ["tests/docs.test.ts"],2. - key: ${{ runner.os }}-uniswap-v2-core-hardhat-npm-${{ hashFiles('polkadot-docs/smart-contracts/uniswap-v2-core-hardhat/tests/recipe.test.ts') }}
+ key: ${{ runner.os }}-uniswap-v2-core-hardhat-npm-${{ hashFiles('polkadot-docs/smart-contracts/uniswap-v2-core-hardhat/tests/docs.test.ts') }}For reference, the sibling (The two |
brunopgalvao
left a comment
There was a problem hiding this comment.
Both follow-up spots now point at tests/docs.test.ts and match the uniswap-v2-periphery-hardhat sibling:
vitest.config.ts→include: ["tests/docs.test.ts"]✅polkadot-docs-uniswap-v2-core-hardhat.ymlcache key →hashFiles(.../tests/docs.test.ts)✅
Rename is complete and the harness will run as expected. LGTM 👍
Update the name of the test from recipe.test.ts > docs.test.ts