Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import * as helper from './helper'
  2.  
  3. describe('Configurator checkout', () => {
  4.  
  5. test('Retrieve all cars', async () => {
  6. const carList = await helper.getAllCars();
  7. expect(carList.length).toEqual(4);
  8. expect(carList.find(car => car.model === "Model Y")).toEqual(expect.anything())
  9. });
  10. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement