A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --runInBand --detectOpenHandles to find leaks. Summary of all failing tests FAIL src/plugins/telemetry/public/services/telemetry_service.test.ts (14.764 s) ● TelemetryService › setOptIn › calls reportOptInStatus if reportOptInStatusChange is true : Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Error: 139 | }); 140 | > 141 | it('calls reportOptInStatus if reportOptInStatusChange is true', async () => { | ^ 142 | const telemetryService = mockTelemetryService({ 143 | reportOptInStatusChange: true, 144 | config: { allowChangingOptInStatus: true }, at new Spec (node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22) at Suite.describe (src/plugins/telemetry/public/services/telemetry_service.test.ts:141:5) at Suite.Object..describe (src/plugins/telemetry/public/services/telemetry_service.test.ts:83:3) at Object. (src/plugins/telemetry/public/services/telemetry_service.test.ts:60:1) Snapshot Summary › 2 snapshots updated from 1 test suite. Test Suites: 1 failed, 1 skipped, 1433 passed, 1434 of 1435 total Tests: 1 failed, 27 skipped, 9 todo, 10654 passed, 10691 total Snapshots: 2 updated, 2415 passed, 2417 total Time: 1443.714 s Ran all test suites. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.