You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LeftOvers/LeftOvers/__tests__/IngredientsServices.test.ts

11 lines
398 B

import IngredientService from '../Services/Ingredients/IngredientsServices';
describe('IngredientService', () => {
const ingredient_service = new IngredientService();
it('should get one ingredient', async () => {
const ingredient_service = new IngredientService();
const result = await ingredient_service.getIngredientById(1)
expect(result.id).toBe(1);
});
});