Skip to content

Commit

Permalink
removed working comments (#413)
Browse files Browse the repository at this point in the history
* removed working comments

* update README description
  • Loading branch information
THardy98 authored Jan 30, 2025
1 parent 87700b9 commit 4f5a53f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion sleep-for-days/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sleep for days

This sample demonstrates how to use Temporal to run a workflow that periodically sleeps for a number of days.
This sample demonstrates how to create a Temporal workflow that runs forever, sending an email every 30 days.

### Testing

Expand Down
2 changes: 0 additions & 2 deletions sleep-for-days/src/test/workflows.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ describe('sleep-for-days workflow', function () {

it('runs continuously until signal is received', async () => {
const client = testEnv.client;
// let activityExecutions = 0;

const mockActivities: typeof activitiesType = {
sendEmail: jest.fn(activities.sendEmail),
Expand All @@ -29,7 +28,6 @@ describe('sleep-for-days workflow', function () {
const worker = await Worker.create({
connection: testEnv.nativeConnection,
workflowsPath: require.resolve('../workflows'),
// activities: mockActivities,
activities: mockActivities,
taskQueue,
});
Expand Down

0 comments on commit 4f5a53f

Please sign in to comment.