I have this Jest in my project
const action = async () => {
await hotelService.getByIdAsync(Identifier);
};
await expect(action()).rejects.toThrowError(FunctionalError);
but I have this eslint error
92:28 error Missing return type on function @typescript-eslint/explicit-function-return-type