deno.land / x / google_play_scraper@v10.0.0 / test / lib.similar.js

lib.similar.js
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { assert } from 'chai';import gplay from '../index.js';import { assertValidApp } from './common.js';
describe('Similar method', () => { it('should fetch a valid application list', () => { return gplay.similar({ appId: 'com.mojang.minecraftpe' }) .then((apps) => apps.map(assertValidApp)); });
it('should fetch games from different developers', () => { return gplay.similar({ appId: 'com.instagram.android' }) .then((apps) => assert.isTrue(apps.some(app => app.developer !== apps[0].developer))); });});
google_play_scraper

Version Info

Tagged at
9 months ago