feat: Portals store integration (#5185)

This commit is contained in:
Muhsin Keloth 2022-08-08 15:47:32 +05:30 committed by GitHub
parent 052422ed03
commit 20f3568583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 982 additions and 413 deletions

View file

@ -0,0 +1,13 @@
import PortalsAPI from '../helpCenter/portals';
import ApiClient from '../ApiClient';
const portalAPI = new PortalsAPI();
describe('#PortalAPI', () => {
it('creates correct instance', () => {
expect(portalAPI).toBeInstanceOf(ApiClient);
expect(portalAPI).toHaveProperty('get');
expect(portalAPI).toHaveProperty('show');
expect(portalAPI).toHaveProperty('create');
expect(portalAPI).toHaveProperty('update');
expect(portalAPI).toHaveProperty('delete');
});
});