MCPcopy Create free account
hub / github.com/codnect/chrono / TestNewSchedulerTask

Function TestNewSchedulerTask

task_test.go:12–15  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

10)
11
12func TestNewSchedulerTask(t *testing.T) {
13 _, err := CreateSchedulerTask(nil)
14 assert.Error(t, err)
15}
16
17func TestNewSchedulerTask_WithLocation(t *testing.T) {
18 _, err := CreateSchedulerTask(func(ctx context.Context) {

Callers

nothing calls this directly

Calls 1

CreateSchedulerTaskFunction · 0.85

Tested by

no test coverage detected