Tests: build types by the app's names; fix rebrand-broken fixtures

- The static metadata in @pezkuwi/types-support predates the rename and
  only knows Pallet* names, while the app (and the test-support creation
  helpers) use PezpalletBountiesBountyStatus, PezpalletAllianceCid, ...
  createAugmentedApi now also registers the @pezkuwi/types-augment
  lookup definitions, and createLookupRegistry gives specs a plain
  registry that knows them.
- calculateBountyBond: the description had been rewritten from
  "Kusama" (24 bytes) to "Dicle" (23 bytes) with the expected bond left
  for 24; now "Pezkuwi network UI Bounty" (25 bytes) and its value.
- page-alliance had no tsconfig.spec.json, so its spec was never
  type-checked; added, and specs are excluded from its build config.
This commit is contained in:
Satoshi Qazi Muhammed authored and SatoshiQaziMuhammed committed 2026-10-10 07:12:12 +04:00
1 parent 09fbca8121
commit 9302b4ff16
11 files changed
+61 -11

No files matched your search

+1
View File
@@ -19,6 +19,7 @@
"@testing-library/react": "^14.1.2"
},
"devDependencies": {
"@pezkuwi/types-augment": "^16.5.37",
"@pezkuwi/types-support": "16.5.37",
"@testing-library/jest-dom": "^5.17.0",
"tsconfig-paths": "^4.2.0"