import ApiError from "~/services/utils/apiError"; describe('getStatus()', ()=>{ it('should return the status code', () => { const apiError = new ApiError(404, 'not found') expect(apiError.getStatus()).toEqual(404) }) })