Hi Team,
I am getting the below error while running the jest unit tests after I upgraded the okta-auth-js library from 5.4.1 to 6.2.0. The functioanlity of login and logout with access token generation and refresh token is working fine.
TypeError: The “data” argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefinedTypeError [ERR_INVALID_ARG_TYPE]: The “data” argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
at getPaths (node_modules/broadcast-channel/dist/es5node/methods/node.js:122:63)
at _callee16$ (node_modules/broadcast-channel/dist/es5node/methods/node.js:734:21)
at tryCatch (node_modules/regenerator-runtime/runtime.js:63:40)
at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:294:22)
at Generator.next (node_modules/regenerator-runtime/runtime.js:119:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
Please help me regarding that. Thanks in advance.
Himanshu