Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import * as helper from './helper'
- describe('Configurator checkout', () => {
- test('Retrieve all cars', async () => {
- const carList = await helper.getAllCars();
- expect(carList.length).toEqual(4);
- expect(carList.find(car => car.model === "Model Y")).toEqual(expect.anything())
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement