chore(deps-dev): bump the cmp-app group across 1 directory with 13 up… #585
Annotations
42 errors and 49 warnings
cmp.init > initializes CMP when in the US:
src/index.test.ts#L48
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:50:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
cmp.init > initializes CMP when in Australia:
src/index.test.ts#L53
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:55:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
cmp.init > initializes TCF when neither in the US or Australia:
src/index.test.ts#L58
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:60:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > only initialises once per page:
src/index.test.ts#L66
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:71:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In GB, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In AU, use the aus framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "aus"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In US, use the ccpa framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "ccpa"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In YT, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In FR, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In CA, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In NZ, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
cmp.showPrivacyManager > shows CMP privacy manager when in the US:
src/index.test.ts#L209
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:215:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
cmp.showPrivacyManager > shows CMP privacy manager when in Australia:
src/index.test.ts#L218
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:224:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
cmp.showPrivacyManager > shows TCF privacy manager when neither in the US or Australia:
src/index.test.ts#L226
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:232:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
cmp.init > initializes CMP when in the US:
src/index.test.ts#L48
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:50:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
cmp.init > initializes CMP when in Australia:
src/index.test.ts#L53
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:55:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
cmp.init > initializes TCF when neither in the US or Australia:
src/index.test.ts#L58
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:60:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > only initialises once per page:
src/index.test.ts#L66
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:71:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In GB, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In AU, use the aus framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "aus"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In US, use the ccpa framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "ccpa"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In YT, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In FR, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In CA, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In NZ, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
cmp.showPrivacyManager > shows CMP privacy manager when in the US:
src/index.test.ts#L209
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:215:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
cmp.showPrivacyManager > shows CMP privacy manager when in Australia:
src/index.test.ts#L218
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:224:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
cmp.showPrivacyManager > shows TCF privacy manager when neither in the US or Australia:
src/index.test.ts#L226
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:232:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
cmp.init > initializes CMP when in the US:
src/index.test.ts#L48
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:50:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
cmp.init > initializes CMP when in Australia:
src/index.test.ts#L53
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:55:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
cmp.init > initializes TCF when neither in the US or Australia:
src/index.test.ts#L58
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:60:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > only initialises once per page:
src/index.test.ts#L66
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:71:20)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In GB, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In AU, use the aus framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "aus"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In US, use the ccpa framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "ccpa"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In YT, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In FR, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In CA, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
hotfix cmp.init > In NZ, use the tcfv2 framework correctly:
src/index.test.ts#L104
Error: expect(received).toEqual(expected) // deep equality
Expected: "tcfv2"
Received: undefined
at toEqual (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:106:33)
at Object.<anonymous> (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/consent-management-platform/consent-management-platform/node_modules/jest-runner/build/testWorker.js:106:12)
|
cmp.showPrivacyManager > shows CMP privacy manager when in the US:
src/index.test.ts#L209
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:215:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
cmp.showPrivacyManager > shows CMP privacy manager when in Australia:
src/index.test.ts#L218
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:224:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
cmp.showPrivacyManager > shows TCF privacy manager when neither in the US or Australia:
src/index.test.ts#L226
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/consent-management-platform/consent-management-platform/src/index.test.ts:232:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
🧾 Statement is not covered:
src/server.ts#L21
Warning! Not covered statement
|
🧾 Statement is not covered:
src/server.ts#L29
Warning! Not covered statement
|
🧾 Statement is not covered:
src/server.ts#L30
Warning! Not covered statement
|
🧾 Statement is not covered:
src/server.ts#L48
Warning! Not covered statement
|
🧾 Statement is not covered:
src/server.ts#L49
Warning! Not covered statement
|
🧾 Statement is not covered:
src/server.ts#L56
Warning! Not covered statement
|
🧾 Statement is not covered:
src/server.ts#L63
Warning! Not covered statement
|
🧾 Statement is not covered:
src/server.ts#L67
Warning! Not covered statement
|
🧾 Statement is not covered:
src/server.ts#L69
Warning! Not covered statement
|
🕹️ Function is not covered:
src/server.ts#L20
Warning! Not covered function
|
🕹️ Function is not covered:
src/server.ts#L28
Warning! Not covered function
|
🕹️ Function is not covered:
src/server.ts#L47
Warning! Not covered function
|
🕹️ Function is not covered:
src/server.ts#L55
Warning! Not covered function
|
🕹️ Function is not covered:
src/server.ts#L59
Warning! Not covered function
|
🌿 Branch is not covered:
src/lib/signals.ts#L19
Warning! Not covered branch
|
🧾 Statement is not covered:
src/tcfv2/getConsentState.ts#L34
Warning! Not covered statement
|
🧾 Statement is not covered:
src/tcfv2/getConsentState.ts#L35
Warning! Not covered statement
|
🌿 Branch is not covered:
src/tcfv2/getConsentState.ts#L33
Warning! Not covered branch
|
🌿 Branch is not covered:
src/tcfv2/getConsentState.ts#L34
Warning! Not covered branch
|
🌿 Branch is not covered:
src/tcfv2/getConsentState.ts#L34
Warning! Not covered branch
|
🧾 Statement is not covered:
src/onConsentChange.ts#L87
Warning! Not covered statement
|
🕹️ Function is not covered:
src/onConsentChange.ts#L134
Warning! Not covered function
|
🧾 Statement is not covered:
src/lib/domain.ts#L17
Warning! Not covered statement
|
🌿 Branch is not covered:
src/lib/domain.ts#L16
Warning! Not covered branch
|
🌿 Branch is not covered:
src/lib/sourcepointConfig.ts#L17
Warning! Not covered branch
|
🌿 Branch is not covered:
src/sourcepoint.ts#L33
Warning! Not covered branch
|
🧾 Statement is not covered:
src/cmp.ts#L28
Warning! Not covered statement
|
🧾 Statement is not covered:
src/cmp.ts#L29
Warning! Not covered statement
|
🧾 Statement is not covered:
src/cmp.ts#L33
Warning! Not covered statement
|
🧾 Statement is not covered:
src/cmp.ts#L36
Warning! Not covered statement
|
🧾 Statement is not covered:
src/cmp.ts#L38
Warning! Not covered statement
|
🧾 Statement is not covered:
src/cmp.ts#L39
Warning! Not covered statement
|
🧾 Statement is not covered:
src/cmp.ts#L41
Warning! Not covered statement
|
🧾 Statement is not covered:
src/cmp.ts#L42
Warning! Not covered statement
|
🧾 Statement is not covered:
src/cmp.ts#L44
Warning! Not covered statement
|
🧾 Statement is not covered:
src/cmp.ts#L45
Warning! Not covered statement
|
🌿 Branch is not covered:
src/cmp.ts#L37
Warning! Not covered branch
|
🌿 Branch is not covered:
src/cmp.ts#L40
Warning! Not covered branch
|
🌿 Branch is not covered:
src/cmp.ts#L43
Warning! Not covered branch
|
🕹️ Function is not covered:
src/cmp.ts#L27
Warning! Not covered function
|
🕹️ Function is not covered:
src/cmp.ts#L32
Warning! Not covered function
|
🕹️ Function is not covered:
src/cmp.ts#L35
Warning! Not covered function
|
🧾 Statement is not covered:
src/getConsentFor.ts#L31
Warning! Not covered statement
|
🧾 Statement is not covered:
src/getConsentFor.ts#L36
Warning! Not covered statement
|
🧾 Statement is not covered:
src/getConsentFor.ts#L44
Warning! Not covered statement
|
🧾 Statement is not covered:
src/getConsentFor.ts#L47
Warning! Not covered statement
|
🧾 Statement is not covered:
src/getConsentFor.ts#L54
Warning! Not covered statement
|
🧾 Statement is not covered:
src/getConsentFor.ts#L57
Warning! Not covered statement
|
🌿 Branch is not covered:
src/getConsentFor.ts#L29
Warning! Not covered branch
|