Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding runs all reporters in CI #357

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

feat(ci) add flutter-json

731829c
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Adding runs all reporters in CI #357

feat(ci) add flutter-json
731829c
Select commit
Loading
Failed to load commit list.
GitHub Actions / jest-junit report succeeded Jan 15, 2024 in 1s

1 passed, 4 failed and 1 skipped

Tests failed

❌ ./tests/fixtures/jest-junit.xml

6 tests were completed in 1s with 1 passed, 4 failed and 1 skipped.

Test suite Passed Failed Skipped Time
tests\main.test.js 1✅ 3❌ 486ms
tests\second.test.js 1❌ 1⚪ 82ms

❌ tests\main.test.js

Test 1
  ✅ Passing test
Test 1 › Test 1.1
  ❌ Failing test
	Error: expect(received).toBeTruthy()
  ❌ Exception in target unit
	Error: Some error
Test 2
  ❌ Exception in test
	Error: Some error

❌ tests\second.test.js

❌ Timeout test
	: Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Error:
⚪ Skipped test

Annotations

Check failure on line 0 in ./__tests__/fixtures/jest-junit.xml

See this annotation in the file changed.

@github-actions github-actions / jest-junit report

__tests__\main.test.js ► Test 1 › Test 1.1 ► Failing test

Failed test found in:
  ./__tests__/fixtures/jest-junit.xml
Error:
  Error: expect(received).toBeTruthy()
Raw output
Error: expect(received).toBeTruthy()

Received: false
    at Object.<anonymous> (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\__tests__\main.test.js:10:21)
    at Object.asyncJestTest (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:106:37)
    at C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\queueRunner.js:28:19)
    at C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\queueRunner.js:75:41
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Check failure on line 0 in ./__tests__/fixtures/jest-junit.xml

See this annotation in the file changed.

@github-actions github-actions / jest-junit report

__tests__\main.test.js ► Test 1 › Test 1.1 ► Exception in target unit

Failed test found in:
  ./__tests__/fixtures/jest-junit.xml
Error:
  Error: Some error
Raw output
Error: Some error
    at Object.throwError (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\lib\main.js:2:9)
    at Object.<anonymous> (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\__tests__\main.test.js:14:11)
    at Object.asyncJestTest (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:106:37)
    at C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\queueRunner.js:28:19)
    at C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\queueRunner.js:75:41
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Check failure on line 0 in ./__tests__/fixtures/jest-junit.xml

See this annotation in the file changed.

@github-actions github-actions / jest-junit report

__tests__\main.test.js ► Test 2 ► Exception in test

Failed test found in:
  ./__tests__/fixtures/jest-junit.xml
Error:
  Error: Some error
Raw output
Error: Some error
    at Object.<anonymous> (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\__tests__\main.test.js:21:11)
    at Object.asyncJestTest (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:106:37)
    at C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\queueRunner.js:28:19)
    at C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\queueRunner.js:75:41
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Check failure on line 0 in ./__tests__/fixtures/jest-junit.xml

See this annotation in the file changed.

@github-actions github-actions / jest-junit report

__tests__\second.test.js ► Timeout test

Failed test found in:
  ./__tests__/fixtures/jest-junit.xml
Error:
  : Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Error: 
Raw output
: Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Error: 
    at new Spec (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\jasmine\Spec.js:116:22)
    at new Spec (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\setup_jest_globals.js:78:9)
    at specFactory (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\jasmine\Env.js:523:24)
    at Env.it (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\jasmine\Env.js:592:24)
    at Env.it (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:134:23)
    at it (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\jasmine\jasmineLight.js:100:21)
    at Object.<anonymous> (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\__tests__\second.test.js:1:34)
    at Runtime._execModule (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-runtime\build\index.js:1245:24)
    at Runtime._loadModule (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-runtime\build\index.js:844:12)
    at Runtime.requireModule (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-runtime\build\index.js:694:10)
    at jasmine2 (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-jasmine2\build\index.js:230:13)
    at runTestInternal (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-runner\build\runTest.js:380:22)
    at runTest (C:\Users\Michal\Workspace\dorny\test-check\reports\jest\node_modules\jest-runner\build\runTest.js:472:34)