We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71a4b57 commit 2888c75Copy full SHA for 2888c75
1 file changed
test/interpreter_functional/test_suites/run_pipeline/helpers.ts
@@ -176,10 +176,16 @@ export function expectExpressionProvider({
176
log.debug('starting to render');
177
const result = await browser.executeAsync<any>(
178
(_context: ExpressionResult, done: (renderResult: any) => void) =>
179
- window.renderPipelineResponse(_context).then((renderResult: any) => {
180
- done(renderResult);
181
- return renderResult;
182
- }),
+ window
+ .renderPipelineResponse(_context)
+ .then((renderResult: any) => {
+ done(renderResult);
183
+ return renderResult;
184
+ })
185
+ .catch((e) => {
186
+ done(e);
187
+ return e;
188
+ }),
189
pipelineResponse
190
);
191
log.debug('response of rendering: ', result);
0 commit comments