Opening a new issue for visibility, but I believe this issue was for the same bug.
Here are some excerpts from my code:
const issueResponseCard = new AdaptiveCard( new TextBlock('How would you like to proceed?', { weight: 'Bolder' }), new ActionSet( new ExecuteAction({ title: 'Submit a Pull Request' }) .withData({ action: 'create_pr' }) .withAssociatedInputs('auto') .withStyle('positive'),
switch (data.action) { case 'create_pr': await send(new AdaptiveCard( new TextBlock('Review Pull Request', { size: 'Large', weight: 'Bolder', }),
Even if i copy the test case from tests > cards > src > index.ts#352 I still get the error. If I drop a break point right after app.on('card.action', async ({ activity, send }) => { it doesn't hit.
Thanks for the help!