Muhammed Khal
Muhammed Khal
KPCKevin Powell - Community
Created by Muhammed Khal on 9/18/2023 in #front-end
Sentry is not logging the errors
I integrated the sentry on my nextjs 13 app but the sentry is not even logging any errors even through there’s no errors on my code.
1 replies
KPCKevin Powell - Community
Created by Muhammed Khal on 9/27/2022 in #back-end
How can I convert the below function into an arrow function.
const handler: HttpHandler = {
handle: function (req: HttpRequest<any>): Observable<HttpEvent<any>> {
return of({} as any);
}
}
const handler: HttpHandler = {
handle: function (req: HttpRequest<any>): Observable<HttpEvent<any>> {
return of({} as any);
}
}
How can I convert the above function into the arrow one
2 replies
KPCKevin Powell - Community
Created by Muhammed Khal on 9/21/2022 in #front-end
how to test the below code in angular jasmine
fetchTotalProjetsCount() { return new Promise((resolve, reject) => { this.http.get(environment.ENV_URL + Constant.constats.endpoints.TOTAL_PROJECT_COUNT).subscribe((res: ResponseAPI) => { Iif (res?.statusCode === 200) { resolve(res) } reject() }) }).catch(err => console.error(err)) } How to test the above code in angular jasmine
16 replies