File tree 1 file changed +14
-16
lines changed
apps/api/src/app/workflows-v2/e2e
1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -55,23 +55,21 @@ describe('Workflow Step Preview - POST /:workflowId/step/:stepId/preview #novu-v
55
55
} ) ;
56
56
57
57
expect ( result ) . to . deep . equal ( {
58
- data : {
59
- result : {
60
- preview : {
61
- subject : 'Welcome firstName' ,
62
- // cspell:disable-next-line
63
- body : 'Hello firstName lastName, Welcome to ORGANIZATIONNAME!' ,
64
- } ,
65
- type : 'in_app' ,
58
+ result : {
59
+ preview : {
60
+ subject : 'Welcome firstName' ,
61
+ // cspell:disable-next-line
62
+ body : 'Hello firstName lastName, Welcome to ORGANIZATIONNAME!' ,
66
63
} ,
67
- previewPayloadExample : {
68
- subscriber : {
69
- firstName : 'firstName' ,
70
- lastName : 'lastName' ,
71
- } ,
72
- payload : {
73
- organizationName : 'organizationName' ,
74
- } ,
64
+ type : 'in_app' ,
65
+ } ,
66
+ previewPayloadExample : {
67
+ subscriber : {
68
+ firstName : 'firstName' ,
69
+ lastName : 'lastName' ,
70
+ } ,
71
+ payload : {
72
+ organizationName : 'organizationName' ,
75
73
} ,
76
74
} ,
77
75
} ) ;
You can’t perform that action at this time.
0 commit comments