fix: test formatting

This commit is contained in:
StevanFreeborn committed 2023-02-01 23:39:07 -06:00
1 parent b4bd721aad
commit fcbe5fafd2
3 files changed
+6 -2

No files matched your search

+3
View File
@@ -1,3 +1,6 @@
# husky
.husky/
# Logs
logs
*.log
+2 -1
View File
@@ -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",
+1 -1
View File
@@ -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;
}
}