Adding in line comment

This commit is contained in:
Justin Dalrymple 2018-05-04 15:39:04 -04:00 committed by Justin
parent 85faa4a97a
commit ed460aaf2f

View File

@ -3,8 +3,7 @@ import { BaseService } from '../../src/infrastructure';
describe('Creation of BaseService instance', () => {
test('If a token or oauthToken is not passed, throw an error', async () => {
expect(() => {
// eslint-disable-line no-unused-vars
const service = new BaseService();
const service = new BaseService(); // eslint-disable-line no-unused-vars
}).toThrowError('`token` (private-token) or `oauth_token` is mandatory');
});
@ -38,4 +37,4 @@ describe('Creation of BaseService instance', () => {
expect(service.headers['private-token']).toBe('1234');
});
});
});