Skip to content

Trying to test

4c72f7d
Select commit
Loading
Failed to load commit list.
Open

Added milestones test #9

Trying to test
4c72f7d
Select commit
Loading
Failed to load commit list.
Jenkins-Linkurious / CI/Jenkins failed Sep 3, 2025 in 1m 16s

Unit tests: warning in 'junit' step

Unit tests / Shell Script

Error in sh step, with arguments npm run test:unit.

script returned exit code 1
Build log
[2025-09-03T02:41:33.535Z] + npm run test:unit
[2025-09-03T02:41:33.535Z] 
[2025-09-03T02:41:33.535Z] > @linkurious/github-client@1.1.4-PR-9.3 test:unit
[2025-09-03T02:41:33.535Z] > nyc --reporter=text-summary --reporter=cobertura --report-dir=reports mocha --timeout 3000 --reporter mocha-multi-reporters --reporter-options configFile=.test-reporters.json  test/**/**.test.js
[2025-09-03T02:41:33.535Z] 
[2025-09-03T02:41:35.450Z] 
[2025-09-03T02:41:35.450Z] 
[2025-09-03T02:41:35.450Z]   API calls
[2025-09-03T02:41:35.450Z]     1) should be able to get the milestones
[2025-09-03T02:41:35.450Z] 
[2025-09-03T02:41:35.450Z] 
[2025-09-03T02:41:35.450Z]   0 passing (7ms)
[2025-09-03T02:41:35.450Z]   1 failing
[2025-09-03T02:41:35.450Z] 
[2025-09-03T02:41:35.450Z]   1) API calls
[2025-09-03T02:41:35.450Z]        should be able to get the milestones:
[2025-09-03T02:41:35.450Z]      Error: Missing 'apiKey' field
[2025-09-03T02:41:35.450Z]       at new GitHubAgent (src/agent.js:11:822)
[2025-09-03T02:41:35.450Z]       at new EnhancedGitHubAgent (src/enhanced_agent.js:10:143)
[2025-09-03T02:41:35.450Z]       at getClient (test/index.test.js:13:44)
[2025-09-03T02:41:35.450Z]       at Context.<anonymous> (test/index.test.js:46:20)
[2025-09-03T02:41:35.450Z]       at process.processImmediate (node:internal/timers:485:21)
[2025-09-03T02:41:35.450Z] 
[2025-09-03T02:41:35.450Z] 
[2025-09-03T02:41:35.450Z] 
[2025-09-03T02:41:35.450Z] 
[2025-09-03T02:41:35.450Z] =============================== Coverage summary ===============================
[2025-09-03T02:41:35.450Z] Statements   : 9.2% ( 15/163 )
[2025-09-03T02:41:35.450Z] Branches     : 14.47% ( 11/76 )
[2025-09-03T02:41:35.450Z] Functions    : 3.27% ( 2/61 )
[2025-09-03T02:41:35.450Z] Lines        : 10.27% ( 15/146 )
[2025-09-03T02:41:35.450Z] ================================================================================

Unit tests / Archive JUnit-formatted test results

Warning in junit step, with arguments reports/**/junit-test-results.xml.

1 tests failed

Details

  • Prepare (31 sec)
  • Lint (6.1 sec)
  • PRe release (10 sec)
  • Build (6.5 sec)
  • Unit tests (11 sec)
    Error: script returned exit code 1 - logs
    Unstable: 1 tests failed - logs