feat(assessment): add the review band of attempt signals and the disclosed collector
This commit is contained in:
1 parent
68286af8b7
commit
b3c6dc870b
124 files changed
+13522
-633
No files matched your search
@@ -55,8 +55,9 @@ func TestBuildJobWorkerSkipsWithoutWork(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestBootstrapRegistersNoJobKindYet(t *testing.T) {
|
||||
if handlers := jobHandlers(); len(handlers) != 0 {
|
||||
func TestBootstrapRegistersTheReviewJobKind(t *testing.T) {
|
||||
handlers := jobHandlers(slog.New(slog.DiscardHandler))
|
||||
if len(handlers) != 1 || handlers[0].JobKind() != "assessment.signal_review" {
|
||||
t.Fatalf("jobHandlers() = %v; update the documentation when the registered job kinds change", handlers)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user