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
@@ -15,6 +15,7 @@
{ "path": "./packages/page-addresses/tsconfig.spec.json" },
{ "path": "./packages/page-addresses/tsconfig.test.json" },
{ "path": "./packages/page-alliance/tsconfig.build.json" },
{ "path": "./packages/page-alliance/tsconfig.spec.json" },
{ "path": "./packages/page-ambassador/tsconfig.build.json" },
{ "path": "./packages/page-assets/tsconfig.build.json" },
{ "path": "./packages/page-bounties/tsconfig.build.json" },