11import { performance } from 'perf_hooks'
22import orderSyncFn , { actionGroups , OrderSync } from '../src/orders'
33import { baseActionsList } from '../src/order-actions'
4- import { DeepPartial , SyncAction } from '../src/types/update-actions'
5- import {
6- OrderEditDraft ,
7- OrderUpdateAction ,
8- } from '@commercetools/platform-sdk/src'
4+ import { DeepPartial } from '../src/types/update-actions'
95
106describe ( 'Exports' , ( ) => {
117 test ( 'action group list' , ( ) => {
@@ -194,11 +190,11 @@ describe('Actions', () => {
194190 shippingInfo : {
195191 deliveries : Array ( 100 )
196192 . fill ( null )
197- . map ( ( a , index ) => ( {
193+ . map ( ( _a , index ) => ( {
198194 parcels : [ ] ,
199195 items : Array ( 50 )
200196 . fill ( null )
201- . map ( ( b , index2 ) => {
197+ . map ( ( _b , index2 ) => {
202198 return {
203199 id : `id-${ index } -${ index2 } ` ,
204200 qty : 1 ,
@@ -211,11 +207,11 @@ describe('Actions', () => {
211207 shippingInfo : {
212208 deliveries : Array ( 100 )
213209 . fill ( null )
214- . map ( ( a , index ) => ( {
210+ . map ( ( _a , index ) => ( {
215211 parcels : [ ] ,
216212 items : Array ( 50 )
217213 . fill ( null )
218- . map ( ( b , index2 ) => {
214+ . map ( ( _b , index2 ) => {
219215 return {
220216 id : `id-${ index } -${ index2 } ` ,
221217 qty : 2 ,
@@ -804,10 +800,10 @@ describe('Actions', () => {
804800 const before = {
805801 returnInfo : Array ( 100 )
806802 . fill ( null )
807- . map ( ( a , index ) => ( {
803+ . map ( ( _a , index ) => ( {
808804 items : Array ( 50 )
809805 . fill ( null )
810- . map ( ( b , index2 ) => {
806+ . map ( ( _b , index2 ) => {
811807 return {
812808 id : `id-${ index } -${ index2 } ` ,
813809 shipmentState : 'Returned' ,
@@ -819,10 +815,10 @@ describe('Actions', () => {
819815 const now = {
820816 returnInfo : Array ( 100 )
821817 . fill ( null )
822- . map ( ( a , index ) => ( {
818+ . map ( ( _a , index ) => ( {
823819 items : Array ( 50 )
824820 . fill ( null )
825- . map ( ( b , index2 ) => {
821+ . map ( ( _b , index2 ) => {
826822 return {
827823 id : `id-${ index } -${ index2 } ` ,
828824 shipmentState : 'Returned' ,
0 commit comments