-
-
Notifications
You must be signed in to change notification settings - Fork 637
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(WIP) changed naming, structure, added tests, README and types
- Loading branch information
1 parent
c5d8764
commit dd7cac9
Showing
4 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,10 @@ Results: | |
developerEmail: '[email protected]', | ||
developerWebsite: 'http://support.google.com/translate', | ||
developerAddress: '1600 Amphitheatre Parkway, Mountain View 94043', | ||
developerLegalName: undefined, | ||
developerLegalEmail: undefined, | ||
developerLegalAddress: undefined, | ||
developerLegalPhoneNumber: undefined, | ||
privacyPolicy: 'http://www.google.com/policies/privacy/', | ||
developerInternalID: '5700313618786177705', | ||
genre: 'Tools', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,6 +109,16 @@ describe('App method', () => { | |
}); | ||
}); | ||
|
||
it('should fetch the developer legal address, legal name, email and phone number', () => { | ||
return gplay.app({ appId: 'com.taktak.browser' }) | ||
.then((app) => { | ||
assert.equal(app.developerLegalName, 'AHREFS PTE. LTD.'); | ||
assert.equal(app.developerLegalAddress, '16 Raffles Quay #33-03 Hong Leong Building, Singapore 048581'); | ||
assert.equal(app.developerLegalEmail, '[email protected]'); | ||
assert.equal(app.developerLegalPhoneNumber, '+65 8372 0700'); | ||
}); | ||
}); | ||
|
||
it('should properly parse a VARY android version', () => { | ||
return gplay.app({ appId: 'com.facebook.katana' }) | ||
.then((app) => { | ||
|