fix: add missing tests

This commit is contained in:
StevanFreeborn
2023-01-26 22:40:13 -06:00
parent 12f32bc731
commit 9ab72bd37c
7 changed files with 142 additions and 19 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ export class OnspringClient {
/**
* @readonly {AxiosInstance} client - The axios instance that will be used to make requests to the Onspring API.
*/
protected readonly client: AxiosInstance;
private readonly _client: AxiosInstance;
/**
* @constructor - Creates a new instance of the OnspringClient class.
@@ -31,7 +31,7 @@ export class OnspringClient {
throw new Error('apiKey cannot be null/empty/whitespace.');
}
this.client = axios.create({
this._client = axios.create({
baseURL: baseUrl,
headers: {
'x-apikey': apiKey,