Skip to content

add tests

add tests #531

GitHub Actions / Jest Unit Test Results failed Nov 24, 2023 in 0s

1 fail, 256 pass in 3m 37s

    1 files  ±0    83 suites  ±0   3m 37s ⏱️ -8s
257 tests +2  256 ✔️ +1  0 💤 ±0  1 +1 
260 runs  +2  259 ✔️ +1  0 💤 ±0  1 +1 

Results for commit 6d07f35. ± Comparison against earlier commit 29922d4.

Annotations

Check warning on line 0 in useBuildQuery Banking information should include banking information index in the query if a user has the appropriate permission

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

useBuildQuery Banking information should include banking information index in the query if a user has the appropriate permissio…uery Banking information should include banking information index in the query if a user has the appropriate permission) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(received).toEqual(expected) // deep equality

Expected: StringContaining "bankingInformation.bankAccountNumber=\"qwerty*\""
Received: "(((name=qwerty*))) sortby name/sort.ascending"
    at Object.toEqual (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationsList/hooks/useBuildQuery/useBuildQuery.test.js:45:38)
    at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/testWorker.js:106:12)