(t *testing.T)
| 22 | } |
| 23 | |
| 24 | func TestNewSchedulerTask_WithInvalidLocation(t *testing.T) { |
| 25 | _, err := CreateSchedulerTask(func(ctx context.Context) { |
| 26 | |
| 27 | }, WithLocation("Europe")) |
| 28 | assert.Error(t, err) |
| 29 | } |
| 30 | |
| 31 | func TestNewScheduledRunnableTask(t *testing.T) { |
| 32 | task, _ := CreateScheduledRunnableTask(0, func(ctx context.Context) { |
nothing calls this directly
no test coverage detected