import { Test , TestingModule } from '@nestjs/testing' ; import { AppController } from './app.controller' ; import { CartService } from './cart.service' ; import { ProductService } from './product.service' ; import { ShippingService } from './shipping.service' ; describe ( 'AppController' , ( ) => { let app ; beforeAll ( async ( ) => { app = await Test . createTestingModule ( { controllers : [ AppController ] , providers : [ CartService , ProductService , ShippingService ] } ) . compile ( ) ; } ) ; describe ( 'getShippingMethods' , ( ) => { it ( 'should return expected list of methods' , ( ) => { } ) ; } ) ; describe ( 'getProducts' , ( ) => { } ) ; describe ( 'getProduct' , ( ) => { } ) ; describe ( 'getCartItems' , ( ) => { } ) ; describe ( 'addToCart' , ( ) => { } ) ; describe ( 'checkout' , ( ) => { } ) ; } ) ;