File tree Expand file tree Collapse file tree 3 files changed +1264
-12
lines changed Expand file tree Collapse file tree 3 files changed +1264
-12
lines changed Original file line number Diff line number Diff line change 1616 "author" : " Lucjan Grzesik | Oliver Juhl " ,
1717 "license" : " MIT" ,
1818 "devDependencies" : {
19+ "@babel/plugin-proposal-class-properties" : " ^7.18.6" ,
20+ "@babel/plugin-transform-instanceof" : " ^7.25.9" ,
21+ "@babel/plugin-transform-runtime" : " ^7.25.9" ,
22+ "@babel/preset-env" : " ^7.26.0" ,
23+ "@babel/preset-typescript" : " ^7.26.0" ,
1924 "@medusajs/medusa" : " ^1.20.1" ,
2025 "@medusajs/types" : " ^1.11.9" ,
2126 "@types/express" : " ^4.17.21" ,
2631 "medusa-test-utils" : " ^1.1.41" ,
2732 "rimraf" : " ^5.0.5" ,
2833 "ts-jest" : " ^29.1.1" ,
34+ "typeorm" : " ^0.3.20" ,
2935 "typescript" : " ^5.3.3"
3036 },
3137 "scripts" : {
Original file line number Diff line number Diff line change @@ -74,7 +74,9 @@ describe("SendGridService", () => {
7474 {
7575 api_key : "SG.test" ,
7676 templates : {
77- order_placed_template : "lol" ,
77+ order_placed_template : {
78+ id : "lol"
79+ } ,
7880 } ,
7981 }
8082 )
@@ -103,7 +105,9 @@ describe("SendGridService", () => {
103105 {
104106 api_key : "SG.test" ,
105107 templates : {
106- order_placed_template : "lol" ,
108+ order_placed_template : {
109+ id : "lol"
110+ } ,
107111 } ,
108112 }
109113 )
@@ -138,7 +142,8 @@ describe("SendGridService", () => {
138142 { orderService : orderServiceMock , totalsService } ,
139143 {
140144 api_key : "SG.test" ,
141- }
145+ templates : { } ,
146+ } ,
142147 )
143148
144149 try {
@@ -184,9 +189,16 @@ describe("SendGridService", () => {
184189 } ,
185190 {
186191 api_key : "SG.test" ,
192+ templates : {
193+ order_placed_template : {
194+ id : "lol"
195+ } ,
196+ } ,
187197 localization : {
188198 "de-DE" : {
189- order_placed_template : "lol" ,
199+ order_placed_template : {
200+ id : "lol"
201+ } ,
190202 } ,
191203 } ,
192204 }
You can’t perform that action at this time.
0 commit comments