@@ -20,8 +20,8 @@ function makeResult(overrides: Partial<EvaluationResult> = {}): EvaluationResult
2020 } ;
2121}
2222
23- describe ( 'formatEvaluationSummary — inconclusive verdict' , ( ) => {
24- it ( 'shows INCONCLUSIVE when all tests are execution errors' , ( ) => {
23+ describe ( 'formatEvaluationSummary — error verdict' , ( ) => {
24+ it ( 'shows ERROR when all tests are execution errors' , ( ) => {
2525 const results = [
2626 makeResult ( {
2727 testId : 'err-1' ,
@@ -46,7 +46,7 @@ describe('formatEvaluationSummary — inconclusive verdict', () => {
4646 const summary = calculateEvaluationSummary ( results ) ;
4747 const output = formatEvaluationSummary ( summary ) ;
4848
49- expect ( output ) . toContain ( 'RESULT: INCONCLUSIVE ' ) ;
49+ expect ( output ) . toContain ( 'RESULT: ERROR ' ) ;
5050 expect ( output ) . toContain ( 'all 3 test(s) had execution errors' ) ;
5151 expect ( output ) . toContain ( 'no evaluation was performed' ) ;
5252 } ) ;
@@ -65,9 +65,9 @@ describe('formatEvaluationSummary — inconclusive verdict', () => {
6565 const summary = calculateEvaluationSummary ( results ) ;
6666 const output = formatEvaluationSummary ( summary ) ;
6767
68- // Should show PASS (the one graded test passed) not INCONCLUSIVE
68+ // Should show PASS (the one graded test passed) not ERROR
6969 expect ( output ) . toContain ( 'RESULT: PASS' ) ;
70- expect ( output ) . not . toContain ( 'INCONCLUSIVE ' ) ;
70+ expect ( output ) . not . toContain ( 'RESULT: ERROR ' ) ;
7171 } ) ;
7272
7373 it ( 'shows FAIL when there are quality failures mixed with execution errors' , ( ) => {
@@ -85,7 +85,7 @@ describe('formatEvaluationSummary — inconclusive verdict', () => {
8585 const output = formatEvaluationSummary ( summary , { threshold : 0.8 } ) ;
8686
8787 expect ( output ) . toContain ( 'RESULT: FAIL' ) ;
88- expect ( output ) . not . toContain ( 'INCONCLUSIVE ' ) ;
88+ expect ( output ) . not . toContain ( 'RESULT: ERROR ' ) ;
8989 } ) ;
9090
9191 it ( 'shows PASS when all tests pass and none are errors' , ( ) => {
@@ -98,6 +98,6 @@ describe('formatEvaluationSummary — inconclusive verdict', () => {
9898 const output = formatEvaluationSummary ( summary ) ;
9999
100100 expect ( output ) . toContain ( 'RESULT: PASS' ) ;
101- expect ( output ) . not . toContain ( 'INCONCLUSIVE ' ) ;
101+ expect ( output ) . not . toContain ( 'RESULT: ERROR ' ) ;
102102 } ) ;
103103} ) ;
0 commit comments