@@ -251,7 +251,7 @@ test('sync', async (t) => {
251
251
* Replace path specifics from stack trace
252
252
*/
253
253
function cleanStackTrace ( stack : string ) {
254
- return stack . replace ( / \b a t ( \S + ) \( .* \) / g, ( _ , m0 ) => `at ${ m0 } ` ) ;
254
+ return stack . replace ( / \b a t ( \S + ) ( : \d + : \d + | \( .* \) ) / g, ( _ , m0 ) => `at ${ m0 } ` ) ;
255
255
}
256
256
257
257
function cleanWorkflowFailureStackTrace ( req : coresdk . workflow_completion . WFActivationCompletion , commandIndex = 0 ) {
@@ -275,7 +275,7 @@ test('throw-sync', async (t) => {
275
275
dedent `
276
276
Error: failure
277
277
at Object.main
278
- at eval
278
+ at workflow-isolate
279
279
at Activator.startWorkflow
280
280
at activate
281
281
`
@@ -296,7 +296,7 @@ test('throw-async', async (t) => {
296
296
dedent `
297
297
Error: failure
298
298
at Object.main
299
- at eval
299
+ at workflow-isolate
300
300
at Activator.startWorkflow
301
301
at activate
302
302
`
@@ -570,7 +570,7 @@ test('interrupt-signal', async (t) => {
570
570
dedent `
571
571
Error: just because
572
572
at interrupt
573
- at eval
573
+ at workflow-isolate
574
574
at Activator.signalWorkflow
575
575
at activate` ,
576
576
'Error'
@@ -601,7 +601,7 @@ test('fail-signal', async (t) => {
601
601
dedent `
602
602
Error: Signal failed
603
603
at fail
604
- at eval
604
+ at workflow-isolate
605
605
at Activator.signalWorkflow
606
606
at activate` ,
607
607
'Error'
@@ -1174,13 +1174,13 @@ test('cancellation-error-is-propagated', async (t) => {
1174
1174
dedent `
1175
1175
CancelledError: Cancelled
1176
1176
at CancellationScope.cancel
1177
- at eval
1178
- at eval
1177
+ at workflow-isolate
1178
+ at workflow-isolate
1179
1179
at AsyncLocalStorage.run
1180
1180
at CancellationScope.run
1181
1181
at Function.cancellable
1182
1182
at Object.main
1183
- at eval
1183
+ at workflow-isolate
1184
1184
at Activator.startWorkflow
1185
1185
at activate
1186
1186
` ,
0 commit comments