fix: test formatting
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# husky
|
||||
.husky/
|
||||
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
|
||||
+2
-1
@@ -9,7 +9,8 @@
|
||||
"build": "npm run tests && tsc",
|
||||
"tests": "mocha -R progress -r ts-node/register ./tests/**/*.spec.ts",
|
||||
"test": "mocha -r ts-node/register",
|
||||
"test-coverage": "nyc npm run tests"
|
||||
"test-coverage": "nyc npm run tests",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"author": "Stevan Freeborn",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -97,7 +97,7 @@ export class OnspringClient {
|
||||
*/
|
||||
private async get<T>(endpoint: string, config: AxiosRequestConfig = {}): Promise<ApiResponse<T>> {
|
||||
const response = await this._client.get(endpoint, config);
|
||||
const apiResponse = ApiResponseFactory.getApiResponse<T>(response);
|
||||
const apiResponse = ApiResponseFactory.getApiResponse<T>(response);
|
||||
return apiResponse;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user