Skip to content

fix: reporting wrong number of tests in Dart #148

fix: reporting wrong number of tests in Dart

fix: reporting wrong number of tests in Dart #148

GitHub Actions / Mochawesome Tests failed May 5, 2024 in 1s

1 passed, 4 failed and 0 skipped

Tests failed

❌ tests/fixtures/mochawesome-json.json

5 tests were completed in 14ms with 1 passed, 4 failed and 0 skipped.

Test suite Passed Failed Skipped Time
nofile 1✔️ 4❌ 5ms

❌ nofile

❌ Timeout test
	Error: Timeout of 1ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/work/Source/Repos/thirdparty/phoenix-test-reporter/reports/mochawesome/test/second.test.js)
Test 1
  ✔️ Passing test
Test 1 Test 1.1
  ❌ Exception in target unit
	Error: Some error
  ❌ Failing test
	AssertionError: Expected values to be strictly equal:
	
	false !== true
	
Test 2
  ❌ Exception in test
	Error: Some error

Annotations

Check failure on line 0 in __tests__/fixtures/mochawesome-json.json

See this annotation in the file changed.

@github-actions github-actions / Mochawesome Tests

nofile ► Timeout test

Failed test found in:
  __tests__/fixtures/mochawesome-json.json
Error:
  Error: Timeout of 1ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/work/Source/Repos/thirdparty/phoenix-test-reporter/reports/mochawesome/test/second.test.js)
Raw output
Error: Timeout of 1ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/work/Source/Repos/thirdparty/phoenix-test-reporter/reports/mochawesome/test/second.test.js)
    at listOnTimeout (node:internal/timers:557:17)
    at processTimers (node:internal/timers:500:7)

Check failure on line 0 in __tests__/fixtures/mochawesome-json.json

See this annotation in the file changed.

@github-actions github-actions / Mochawesome Tests

nofile ► Test 1 Test 1.1 ► Exception in target unit

Failed test found in:
  __tests__/fixtures/mochawesome-json.json
Error:
  Error: Some error
Raw output
Error: Some error
    at Object.throwError (lib/main.js:2:9)
    at Context.<anonymous> (test/main.test.js:15:11)
    at processImmediate (node:internal/timers:464:21)

Check failure on line 0 in __tests__/fixtures/mochawesome-json.json

See this annotation in the file changed.

@github-actions github-actions / Mochawesome Tests

nofile ► Test 1 Test 1.1 ► Failing test

Failed test found in:
  __tests__/fixtures/mochawesome-json.json
Error:
  AssertionError: Expected values to be strictly equal:
  
  false !== true
  
Raw output
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

false !== true

    at Context.<anonymous> (test/main.test.js:11:14)
    at processImmediate (node:internal/timers:464:21)

Check failure on line 0 in __tests__/fixtures/mochawesome-json.json

See this annotation in the file changed.

@github-actions github-actions / Mochawesome Tests

nofile ► Test 2 ► Exception in test

Failed test found in:
  __tests__/fixtures/mochawesome-json.json
Error:
  Error: Some error
Raw output
Error: Some error
    at Context.<anonymous> (test/main.test.js:22:11)
    at processImmediate (node:internal/timers:464:21)