Skip to content

Commit

Permalink
fix validation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
olitomlinson committed Jun 21, 2024
1 parent a338c93 commit f21c45b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions workflows/javascript/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,22 @@ npm install
npm run build
```

<!-- END_STEP -->
2. Run the app

- Entry point 1 : JavaScript console app
<!-- STEP
name: Run order-processor service
expected_stdout_lines:
- '== APP - workflowApp == == APP == Payment of 100 for 10 item1 processed successfully'
- 'there are now 90 item1 in stock'
- 'processed successfully!'
expected_stderr_lines:
output_match_mode: substring
background: true
sleep: 15
timeout_seconds: 120
-->

```bash
dapr run -f .
Expand Down Expand Up @@ -152,3 +165,4 @@ When you ran `dapr run --app-id activity-sequence-workflow --app-protocol grpc -
8. The `notifyActivity` workflow activity sends a notification saying that order `0c332155-1e02-453a-a333-28cfc7777642` has completed and processed.
9. The workflow terminates as completed and processed.

<!-- END_STEP -->

0 comments on commit f21c45b

Please sign in to comment.