@vista.io/vista-api-client
Version:
NodeJS implementation of the Vista API.
17 lines (12 loc) • 399 B
JavaScript
import expect from 'expect.js';
import { describe, it } from 'mocha';
import { client } from './setup.js';
describe('Admin', () => {
describe('gets company', () => {
it('should return proper response', async () => {
const company = await client.admin.getCompany();
expect(company).to.have.key('company_id');
expect(company).to.have.key('company_name');
});
});
});