   ]
 
 sampleProductProjectionResponse = [
-  masterVariant :
+  masterVariant:
     sku: 'e'
   variants: []
 ]


      spyOn(@import, "_extractUniqueSkus").andCallThrough()
      spyOn(@import, "_prepareProductFetchBySkuQueryPredicate").andCallThrough()
      spyOn(@import.client.productProjections,"fetch").andCallFake => Promise.resolve({body: {results: existingProducts}})
      spyOn(@import, "_createOrUpdate").andCallFake -> Promise.all([Promise.resolve({statusCode: 201}), Promise.resolve({statusCode: 200})])
      @import._processBatches(sampleProducts)
      .then =>


    it 'should resolve list of category references and cache the result', (done) ->
      @import._resetCache()
      spyOn(@import.client.categories, "fetch").andCallFake -> Promise.resolve(sampleCategoriesResponse)
      categoryRef = { id: 'category_external_id1' }
      @import._resolveReference(@import.client.categories, 'categories', categoryRef, "externalId=\"#{categoryRef.id}\"")
      .then (result) =>
