You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: expect(element).toHaveTextContent()
Expected element to have text content:
false|{}|true|false
Received:
true|{"foo":"bar"}|true|false
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<span
data-testid="result"
>
true|{"foo":"bar"}|true|false
</span>
</div>
</body>
</html>
at /home/runner/work/react-sdk/react-sdk/src/hooks.spec.tsx:972:64
at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/react-sdk/react-sdk/node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (/home/runner/work/react-sdk/react-sdk/node_modules/@testing-library/dom/dist/wait-for.js:124:77)
at checkRealTimersCallback (/home/runner/work/react-sdk/react-sdk/node_modules/@testing-library/dom/dist/wait-for.js:118:16)
at Timeout.task [as _onTimeout] (/home/runner/work/react-sdk/react-sdk/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)
Error: expect(element).toHaveTextContent()
Expected element to have text content:
false|{}|true|false
Received:
false|{}|true|true
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<span
data-testid="result"
>
false|{}|true|true
</span>
</div>
</body>
</html>
at /home/runner/work/react-sdk/react-sdk/src/hooks.spec.tsx:1113:64
at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/react-sdk/react-sdk/node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (/home/runner/work/react-sdk/react-sdk/node_modules/@testing-library/dom/dist/wait-for.js:124:77)
at checkRealTimersCallback (/home/runner/work/react-sdk/react-sdk/node_modules/@testing-library/dom/dist/wait-for.js:118:16)
at Timeout.task [as _onTimeout] (/home/runner/work/react-sdk/react-sdk/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)