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

Testing if something is broken #25

Closed
wants to merge 2 commits into from

Conversation

joseph-sentry
Copy link
Owner

No description provided.

@joseph-sentry
Copy link
Owner Author

joseph-sentry commented May 28, 2024

Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.

❌ Failed Test Results:

Completed 4 tests with 3 failed, 1 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
undefined

Test name:
fully covered:: fully covered

Envs:
- test_flag
Error: expect(received).toEqual(expected) // deep equality

Expected: false
Received: true
at Object.<anonymous>
(.../demo/coverage-test/coverage.test.ts:10:39)
at Promise.then.completed
(.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn
(.../jest-circus/build/utils.js:231:10)
at _callCircusTest
(.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest
(.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock
(.../jest-circus/build/run.js:126:9)
at run
(.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat
(.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter
(.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal
(.../jest-runner/build/runTest.js:367:16)
at runTest
(.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined

Test name:
subtracts 2 - 3 to equal -1:: subtracts 2 - 3 to equal -1

Envs:
- test_flag
Error: expect(received).toBe(expected) // Object.is equality

Expected: 1
Received: -1
at Object.<anonymous>
(.../demo/calculator/calculator.test.ts:10:31)
at Promise.then.completed
(.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn
(.../jest-circus/build/utils.js:231:10)
at _callCircusTest
(.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest
(.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock
(.../jest-circus/build/run.js:126:9)
at run
(.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat
(.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter
(.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal
(.../jest-runner/build/runTest.js:367:16)
at runTest
(.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined

Test name:
test uncovered if:: test uncovered if

Envs:
- test_flag
Error: expect(received).toEqual(expected) // deep equality

Expected: true
Received: false
at Object.<anonymous>
(.../demo/coverage-test/coverage.test.ts:5:38)
at Promise.then.completed
(.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn
(.../jest-circus/build/utils.js:231:10)
at _callCircusTest
(.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest
(.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock
(.../jest-circus/build/run.js:126:9)
at run
(.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat
(.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter
(.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal
(.../jest-runner/build/runTest.js:367:16)
at runTest
(.../jest-runner/build/runTest.js:444:34)

@joseph-sentry
Copy link
Owner Author

Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.

❌ Failed Test Results:

Completed 4 tests with 3 failed(3 known flakes hit), 1 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
❄️🗂️ Known Flaky Test
Testsuite:
undefined

Test name:
fully covered:: fully covered

Envs:
- test_flag
Error: expect(received).toEqual(expected) // deep equality

Expected: false
Received: true
at Object.<anonymous>
(.../demo/coverage-test/coverage.test.ts:10:39)
at Promise.then.completed
(.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn
(.../jest-circus/build/utils.js:231:10)
at _callCircusTest
(.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest
(.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock
(.../jest-circus/build/run.js:126:9)
at run
(.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat
(.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter
(.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal
(.../jest-runner/build/runTest.js:367:16)
at runTest
(.../jest-runner/build/runTest.js:444:34)
❄️🗂️ Known Flaky Test
Testsuite:
undefined

Test name:
subtracts 2 - 3 to equal -1:: subtracts 2 - 3 to equal -1

Envs:
- test_flag
Error: expect(received).toBe(expected) // Object.is equality

Expected: 1
Received: -1
at Object.<anonymous>
(.../demo/calculator/calculator.test.ts:10:31)
at Promise.then.completed
(.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn
(.../jest-circus/build/utils.js:231:10)
at _callCircusTest
(.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest
(.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock
(.../jest-circus/build/run.js:126:9)
at run
(.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat
(.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter
(.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal
(.../jest-runner/build/runTest.js:367:16)
at runTest
(.../jest-runner/build/runTest.js:444:34)
❄️🗂️ Known Flaky Test
Testsuite:
undefined

Test name:
test uncovered if:: test uncovered if

Envs:
- test_flag
Error: expect(received).toEqual(expected) // deep equality

Expected: true
Received: false
at Object.<anonymous>
(.../demo/coverage-test/coverage.test.ts:5:38)
at Promise.then.completed
(.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn
(.../jest-circus/build/utils.js:231:10)
at _callCircusTest
(.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest
(.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock
(.../jest-circus/build/run.js:126:9)
at run
(.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat
(.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter
(.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal
(.../jest-runner/build/runTest.js:367:16)
at runTest
(.../jest-runner/build/runTest.js:444:34)

@joseph-sentry
Copy link
Owner Author

Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.

❌ Failed Test Results:

Completed 4 tests with 3 failed, 1 passed and 0 skipped.

View the full list of failed tests

undefined

  • Class name: fully covered
    Test name: fully covered
    Flags:
    • test_flag

    Error: expect(received).toEqual(expected) // deep equality

    Expected: false
    Received: true
    at Object.<anonymous>
    (.../demo/coverage-test/coverage.test.ts:10:39)
    at Promise.then.completed
    (.../jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn
    (.../jest-circus/build/utils.js:231:10)
    at _callCircusTest
    (.../jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest
    (.../jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock
    (.../jest-circus/build/run.js:126:9)
    at run
    (.../jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat
    (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter
    (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal
    (.../jest-runner/build/runTest.js:367:16)
    at runTest
    (.../jest-runner/build/runTest.js:444:34)
  • Class name: subtracts 2 - 3 to equal -1
    Test name: subtracts 2 - 3 to equal -1
    Flags:
    • test_flag

    Error: expect(received).toBe(expected) // Object.is equality

    Expected: 1
    Received: -1
    at Object.<anonymous>
    (.../demo/calculator/calculator.test.ts:10:31)
    at Promise.then.completed
    (.../jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn
    (.../jest-circus/build/utils.js:231:10)
    at _callCircusTest
    (.../jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest
    (.../jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock
    (.../jest-circus/build/run.js:126:9)
    at run
    (.../jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat
    (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter
    (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal
    (.../jest-runner/build/runTest.js:367:16)
    at runTest
    (.../jest-runner/build/runTest.js:444:34)
  • Class name: test uncovered if
    Test name: test uncovered if
    Flags:
    • test_flag

    Error: expect(received).toEqual(expected) // deep equality

    Expected: true
    Received: false
    at Object.<anonymous>
    (.../demo/coverage-test/coverage.test.ts:5:38)
    at Promise.then.completed
    (.../jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn
    (.../jest-circus/build/utils.js:231:10)
    at _callCircusTest
    (.../jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest
    (.../jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock
    (.../jest-circus/build/run.js:126:9)
    at run
    (.../jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat
    (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter
    (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal
    (.../jest-runner/build/runTest.js:367:16)
    at runTest
    (.../jest-runner/build/runTest.js:444:34)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant