@@ -10,7 +10,7 @@ export interface TestCaseRun {
10
10
task : {
11
11
id : string ;
12
12
filePath : string ;
13
- exportName : string ;
13
+ exportName ? : string ;
14
14
} ;
15
15
payload : string ;
16
16
payloadType ?: string ;
@@ -59,7 +59,6 @@ export const fixturesConfig: TestCase[] = [
59
59
{
60
60
id : "helloWorld" ,
61
61
filePath : "src/trigger/helloWorld.ts" ,
62
- exportName : "helloWorld" ,
63
62
} ,
64
63
] ,
65
64
} ,
@@ -93,13 +92,12 @@ export const fixturesConfig: TestCase[] = [
93
92
{
94
93
id : "ai" ,
95
94
filePath : "src/trigger/ai.ts" ,
96
- exportName : "aiTask" ,
97
95
} ,
98
96
] ,
99
97
} ,
100
98
runs : [
101
99
{
102
- task : { id : "ai" , filePath : "src/trigger/ai.ts" , exportName : "aiTask" } ,
100
+ task : { id : "ai" , filePath : "src/trigger/ai.ts" } ,
103
101
payload : '{"prompt":"be funny"}' ,
104
102
result : { ok : true , durationMs : 1 } ,
105
103
} ,
@@ -126,17 +124,12 @@ export const fixturesConfig: TestCase[] = [
126
124
{
127
125
id : "decoratorsTask" ,
128
126
filePath : "src/trigger/decorators.ts" ,
129
- exportName : "decoratorsTask" ,
130
127
} ,
131
128
] ,
132
129
} ,
133
130
runs : [
134
131
{
135
- task : {
136
- id : "decoratorsTask" ,
137
- filePath : "src/trigger/decorators.ts" ,
138
- exportName : "decoratorsTask" ,
139
- } ,
132
+ task : { id : "decoratorsTask" , filePath : "src/trigger/decorators.ts" } ,
140
133
payload : "{}" ,
141
134
result : { ok : true , durationMs : 1 } ,
142
135
} ,
@@ -162,13 +155,12 @@ export const fixturesConfig: TestCase[] = [
162
155
{
163
156
id : "react-email" ,
164
157
filePath : "src/reactEmail.tsx" ,
165
- exportName : "reactEmail" ,
166
158
} ,
167
159
] ,
168
160
} ,
169
161
runs : [
170
162
{
171
- task : { id : "react-email" , filePath : "src/reactEmail.tsx" , exportName : "reactEmail" } ,
163
+ task : { id : "react-email" , filePath : "src/reactEmail.tsx" } ,
172
164
payload : "{}" ,
173
165
result : {
174
166
ok : true ,
@@ -200,13 +192,12 @@ export const fixturesConfig: TestCase[] = [
200
192
{
201
193
id : "helloWorld" ,
202
194
filePath : "src/trigger/helloWorld.ts" ,
203
- exportName : "helloWorld" ,
204
195
} ,
205
196
] ,
206
197
} ,
207
198
runs : [
208
199
{
209
- task : { id : "helloWorld" , filePath : "src/trigger/helloWorld.ts" , exportName : "helloWorld" } ,
200
+ task : { id : "helloWorld" , filePath : "src/trigger/helloWorld.ts" } ,
210
201
payload : "{}" ,
211
202
result : { ok : true , durationMs : 1 } ,
212
203
} ,
0 commit comments