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

Skip to content

removed working comments #413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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