Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f5a53f

Browse files
authored
removed working comments (temporalio#413)
* removed working comments * update README description
1 parent 87700b9 commit 4f5a53f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

sleep-for-days/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sleep for days
22

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

55
### Testing
66

sleep-for-days/src/test/workflows.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ describe('sleep-for-days workflow', function () {
2020

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

2524
const mockActivities: typeof activitiesType = {
2625
sendEmail: jest.fn(activities.sendEmail),
@@ -29,7 +28,6 @@ describe('sleep-for-days workflow', function () {
2928
const worker = await Worker.create({
3029
connection: testEnv.nativeConnection,
3130
workflowsPath: require.resolve('../workflows'),
32-
// activities: mockActivities,
3331
activities: mockActivities,
3432
taskQueue,
3533
});

0 commit comments

Comments
 (0)