@@ -27,32 +27,6 @@ const bundlePath = resolve(
2727const tableName = "supplier-config-it" ;
2828const topicName = "supplier-api-eventsub-it" ;
2929const queueName = "auppler-api-eventsub-queue-it" ;
30- // const expectedRecords = [
31- // {
32- // entity: "volume-group",
33- // id: "vg-1",
34- // },
35- // {
36- // entity: "letter-variant",
37- // id: "lv-1",
38- // },
39- // {
40- // entity: "pack-specification",
41- // id: "pack-spec-1",
42- // },
43- // {
44- // entity: "supplier",
45- // id: "sup-1",
46- // },
47- // {
48- // entity: "supplier-allocation",
49- // id: "alloc-1",
50- // },
51- // {
52- // entity: "supplier-pack",
53- // id: "sp-1",
54- // },
55- // ] as const;
5630
5731const expectedRecords = [
5832 {
@@ -67,6 +41,18 @@ const expectedRecords = [
6741 id : "sp-1" ,
6842 subject : "supplier-pack/sp-1" ,
6943 } ,
44+ {
45+ id : "lv-1" ,
46+ subject : "letter-variant/lv-1" ,
47+ } ,
48+ {
49+ id : "pack-spec-1" ,
50+ subject : "pack-specification/pack-spec-1" ,
51+ } ,
52+ {
53+ id : "vg-1" ,
54+ subject : "volume-group/vg-1" ,
55+ } ,
7056] as const ;
7157
7258let context : LocalTestContext | null = null ;
@@ -118,7 +104,7 @@ async function receiveMessages(queueUrl: string) {
118104 new ReceiveMessageCommand ( {
119105 QueueUrl : queueUrl ,
120106 MaxNumberOfMessages : 10 ,
121- WaitTimeSeconds : 5 ,
107+ WaitTimeSeconds : 10 ,
122108 } ) ,
123109 ) ;
124110 return output . Messages ?? [ ] ;
0 commit comments