• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

decentraland / marketplace / 8707642164

16 Apr 2024 02:41PM UTC coverage: 66.42% (-0.09%) from 66.509%
8707642164

Pull #2218

github

meelrossi
fix wording
Pull Request #2218: feat: add vrm block badge

2601 of 5054 branches covered (51.46%)

Branch coverage included in aggregate %.

16 of 18 new or added lines in 4 files covered. (88.89%)

12 existing lines in 5 files now uncovered.

7554 of 10235 relevant lines covered (73.81%)

78.06 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

45.45
/webapp/src/modules/vendor/decentraland/peer/api.ts
1
import { Entity } from '@dcl/schemas'
2
import { BaseAPI } from 'decentraland-dapps/dist/lib'
31✔
3
import { config } from '../../../../config'
31✔
4
import { retryParams } from '../utils'
31✔
5

6
export class PeerAPI extends BaseAPI {
4✔
7
  async fetchItemByUrn(urn: string) {
NEW
8
    const item: Entity[] = await this.request('post', '/content/entities/active', { pointers: [urn] })
×
NEW
9
    return item && item.length ? item[0] : null
×
10
  }
11
}
12

13
export const peerAPI = new PeerAPI(config.get('PEER_URL'), retryParams)
31✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc