novasamatech / telenova-web-app

Telenova is a brand new self-custodial Polkadot wallet that runs directly in Telegram providing you with a simple and clean user interface to manage your DOT, USDT, KSM tokens
https://t.me/telenova_app_bot
GNU General Public License v3.0
12 stars 0 forks source link

Feat: Gifts model #224

Open tuul-wq opened 1 month ago

tuul-wq commented 1 month ago

closes #216

github-actions[bot] commented 1 month ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 27.16% 1702 / 6265
🔵 Statements 27.16% 1702 / 6265
🔵 Functions 31.83% 85 / 267
🔵 Branches 64.04% 244 / 381
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
app/models/balances/balances-model.ts 97.87% 91.66% 84.61% 97.87% 40-42, 52
app/models/gifts/gift-utils.ts 0% 0% 0% 0% 1, 3-4, 14-18, 21-26, 29-33, 35, 37, 39-46, 48-51, 53-55, 57-58
app/models/gifts/gifts-model.ts 96.13% 87.5% 100% 96.13% 54, 56-57, 59-60, 138-139
app/models/gifts/index.ts 0% 0% 0% 0% 1
app/routes/dashboard/index.tsx 0% 0% 0% 0% 1, 3-6, 8-16, 29-30, 32-39, 41, 43, 45-47, 49-50, 52-54, 56-62, 64-82, 84-86, 88-101, 103-106, 108, 110-118, 121-128, 130-134, 136-137, 140-143, 145, 147-148, 151-152, 154-158, 160-161, 163-164, 166-167, 169, 171
app/routes/gifts/index.tsx 0% 0% 0% 0% 1, 3-4, 6-10, 12-13, 15-19, 21-24, 26, 28-33, 35-38, 41-43, 45-48, 50-58, 60-61, 63-64, 66-70, 72-75, 78-83, 85, 87
app/routes/transfer/gift/$chainId.$assetId/create.tsx 0% 0% 0% 0% 1, 3, 5-8, 10-11, 13-16, 18-20, 28-33, 35-36, 38-44, 46-47, 49-50, 52-57, 59-60, 62-63, 65-66, 68-70, 72-73, 75-84, 86-93, 95-102, 104-107, 109-113, 115, 117-129, 131-134, 136-139, 141-143, 145, 147, 149, 151
app/shared/api/blockchain/balances/native-balance.ts 6% 0% 0% 6% 11-12, 14-17, 19-27, 30-35, 37-44, 46-51, 53-55, 57-61, 63-66
app/shared/api/blockchain/balances/orml-balance.ts 6.25% 0% 0% 6.25% 20-21, 23-26, 28-33, 35, 37-39, 41-42, 44-51, 53-58, 60-62, 64-66, 68, 70-71, 73-77, 79-82, 84-85, 87-90, 92, 94-96
app/shared/api/blockchain/balances/statemine-balance.ts 8.16% 0% 0% 8.16% 11-12, 14-17, 19-25, 27-34, 36-41, 43-47, 49-52, 54-57, 59-60, 62-64
app/shared/api/blockchain/balances/types.ts 100% 100% 100% 100%
app/shared/helpers/index.tsx 100% 100% 100% 100%
app/shared/hooks/index.ts 0% 0% 0% 0% 1
app/types/substrate/gift.ts 100% 100% 100% 100%
app/types/substrate/index.ts 100% 100% 100% 100%
app/ui/molecules/CreatedGiftPlate/CreatedGiftPlate.tsx 0% 0% 0% 0% 1, 3-4, 6-7, 9-10, 12-22, 24-25, 27, 29-32, 34
app/ui/molecules/GiftClaim/GiftClaim.tsx 0% 0% 0% 0% 1, 4-5, 9, 11-16, 18, 22, 24-27, 29, 31-32, 34-36, 38-41, 43-45, 47, 49-52, 54-55, 57-58, 60, 62-63, 65-70, 72-75, 77-79, 81-82, 84-85, 87-89, 91-94, 96-98, 100-102, 104-106, 108-110, 112-130, 132-133, 135-140, 142-148, 150-162, 164-179, 181, 183-190, 192-198, 201-212, 214-215, 217
app/ui/molecules/GiftPlate/GiftPlate.tsx 0% 0% 0% 0% 1-3, 5, 13-14, 16-20, 22-35, 37
Generated in workflow #236 for commit 0e77bf6 by the Vitest Coverage Report Action