Skip to content

Fix unit test coverage #54

Fix unit test coverage

Fix unit test coverage #54

Triggered via push December 7, 2023 00:52
Status Failure
Total duration 12m 8s
Artifacts 2
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Matrix: html-test
Merge test result
8s
Merge test result
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Race condition between connect slow and connect: packages/core/src/__tests__/detectSlowConnectionSaga.spec.js#L85
TypeError: Cannot assign to read only property 'performance' of object '[object global]' at hijackMethod (node_modules/@sinonjs/fake-timers/src/fake-timers-src.js:946:32) at Object.install (node_modules/@sinonjs/fake-timers/src/fake-timers-src.js:1733:17) at FakeTimers.useFakeTimers (node_modules/@jest/fake-timers/build/modernFakeTimers.js:110:36) at Object.useFakeTimers (packages/core/src/__tests__/detectSlowConnectionSaga.spec.js:85:8)
Unit test
Process completed with exit code 1.
compiling TypeScript files › in /pass/ folder › should pass: __tests__/types/typescript.js#L52
expect(received).toHaveProperty(path, value) Expected path: ["additional-style-options-in-full.ts", "errors"] - Expected value - 1 + Received value + 3 - Array [] + Array [ + "/home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/types/__typescript__/pass/additional-style-options-in-full.ts (1,32): Cannot find module '../../../../packages/bundle' or its corresponding type declarations.", + ] at Object.toHaveProperty (__tests__/types/typescript.js:52:25)
HTML test (13/20)
Process completed with exit code 1.
Merge test result
Process completed with exit code 1.
Merge test result
Process completed with exit code 1.
Merge test result
Process completed with exit code 127.
Merge test result
Process completed with exit code 127.
Merge test result
Process completed with exit code 1.
Merge test result
No files were found with the provided path: cobertura-coverage.xml lcov.info. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
docker Expired
94.4 MB
sharded-test-result Expired
31.6 MB