fix: stop enqueueing disabled external table exports
This commit is contained in:
@@ -127,6 +127,15 @@ func TestCoverageRepoInsertsSupportCaseOnlyForUncovered(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestCoverageRepoFAQExportStatusFollowsRuntimeFlag(t *testing.T) {
|
||||
if got := faqExportStatus(false); got != "not_applicable" {
|
||||
t.Fatalf("disabled status=%q", got)
|
||||
}
|
||||
if got := faqExportStatus(true); got != "pending" {
|
||||
t.Fatalf("enabled status=%q", got)
|
||||
}
|
||||
}
|
||||
|
||||
func TestCoverageRepoUsesSingleTransaction(t *testing.T) {
|
||||
src := readCoverageSource(t)
|
||||
// Must use BeginTx
|
||||
|
||||
Reference in New Issue
Block a user