mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: tighten barnacle classifier assertions
This commit is contained in:
@@ -246,13 +246,12 @@ describe("barnacle-auto-response", () => {
|
||||
file("README.md"),
|
||||
]);
|
||||
|
||||
expect(labels).toEqual(
|
||||
expect.arrayContaining([
|
||||
candidateLabels.blankTemplate,
|
||||
candidateLabels.lowSignalDocs,
|
||||
candidateLabels.docsDiscoverability,
|
||||
]),
|
||||
);
|
||||
expect(labels).toEqual([
|
||||
candidateLabels.blankTemplate,
|
||||
candidateLabels.needsRealBehaviorProof,
|
||||
candidateLabels.lowSignalDocs,
|
||||
candidateLabels.docsDiscoverability,
|
||||
]);
|
||||
});
|
||||
|
||||
it("does not treat template boilerplate as behavior evidence for test-only churn", () => {
|
||||
@@ -260,9 +259,11 @@ describe("barnacle-auto-response", () => {
|
||||
file("src/gateway/foo.test.ts"),
|
||||
]);
|
||||
|
||||
expect(labels).toEqual(
|
||||
expect.arrayContaining([candidateLabels.blankTemplate, candidateLabels.testOnlyNoBug]),
|
||||
);
|
||||
expect(labels).toEqual([
|
||||
candidateLabels.blankTemplate,
|
||||
candidateLabels.needsRealBehaviorProof,
|
||||
candidateLabels.testOnlyNoBug,
|
||||
]);
|
||||
});
|
||||
|
||||
it("labels external PRs that are missing real behavior proof", () => {
|
||||
|
||||
Reference in New Issue
Block a user