Skip to content

STCOR-875 Merge pull request #1532 from folio-org/keycloak-ramsons #257

STCOR-875 Merge pull request #1532 from folio-org/keycloak-ramsons

STCOR-875 Merge pull request #1532 from folio-org/keycloak-ramsons #257

GitHub Actions / Jest Unit Test Results succeeded Sep 20, 2024 in 0s

All 339 tests pass in 1m 2s

  1 files  ± 0   56 suites  +17   1m 2s ⏱️ +12s
339 tests +41  339 ✅ +41  0 💤 ±0  0 ❌ ±0 
343 runs  +44  343 ✅ +44  0 💤 ±0  0 ❌ ±0 

Results for commit 61ff854. ± Comparison against earlier commit f12abff.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

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

339 tests found

There are 339 tests, see "Raw output" for the full list of tests.
Raw output
About displays application discovery details ‑ About displays application discovery details
AboutAPIGateway displays API gateway details ‑ AboutAPIGateway displays API gateway details
AboutApplicationVersions displays application version details ‑ AboutApplicationVersions displays application version details
AboutEnabledModules displays application version details ‑ AboutEnabledModules displays application version details
AboutInstallMessages finds a version ‑ AboutInstallMessages finds a version
AboutInstallMessages finds an install date ‑ AboutInstallMessages finds an install date
AboutInstallMessages finds an install message ‑ AboutInstallMessages finds an install message
AboutModules displays application version details ‑ AboutModules displays application version details
AboutOkapi displays application version details ‑ AboutOkapi displays application version details
AboutStripes displays stripes-* version details ‑ AboutStripes displays stripes-* version details
AboutUIDependencies displays UI module details ‑ AboutUIDependencies displays UI module details
AboutUIDependencies displays required interfaces ‑ AboutUIDependencies displays required interfaces
AuthErrorsContainer displays errors ‑ AuthErrorsContainer displays errors
AuthErrorsContainer provides default translation namespace ‑ AuthErrorsContainer provides default translation namespace
CreateResetPassword utils getTenant should return tenant value from location ?search when defined ‑ CreateResetPassword utils getTenant should return tenant value from location ?search when defined
CreateResetPassword utils getTenant should return tenant value from okapi when location search is empty ‑ CreateResetPassword utils getTenant should return tenant value from okapi when location search is empty
CreateResetPasswordControl uses reset token in URL param ‑ CreateResetPasswordControl uses reset token in URL param
FFetch class Calling a FOLIO API fetch calls native fetch once ‑ FFetch class Calling a FOLIO API fetch calls native fetch once
FFetch class Calling a non-FOLIO API calls native fetch once ‑ FFetch class Calling a non-FOLIO API calls native fetch once
FFetch class Calling an okapi fetch when all tokens are expired triggers an RTR error ‑ FFetch class Calling an okapi fetch when all tokens are expired triggers an RTR error
FFetch class Calling an okapi fetch with a malformed resource triggers an Unexpected Resource Error ‑ FFetch class Calling an okapi fetch with a malformed resource triggers an Unexpected Resource Error
FFetch class Calling an okapi fetch with missing token and failing rotation... triggers rtr...calls fetch 2 times, failed call, failed token call, throws error ‑ FFetch class Calling an okapi fetch with missing token and failing rotation... triggers rtr...calls fetch 2 times, failed call, failed token call, throws error
FFetch class Calling an okapi fetch with missing token and reported error from auth service... throws an RTR error ‑ FFetch class Calling an okapi fetch with missing token and reported error from auth service... throws an RTR error
FFetch class Calling an okapi fetch with missing token... returns the error ‑ FFetch class Calling an okapi fetch with missing token... returns the error
FFetch class Calling an okapi fetch with valid token, but failing request... returns response from failed fetch, only calls fetch once. ‑ FFetch class Calling an okapi fetch with valid token, but failing request... returns response from failed fetch, only calls fetch once.
FFetch class calling authentication resources avoids rotation when AT and RT expire together ‑ FFetch class calling authentication resources avoids rotation when AT and RT expire together
FFetch class calling authentication resources handles RTR data in the response ‑ FFetch class calling authentication resources handles RTR data in the response
FFetch class calling authentication resources handles RTR data in the session ‑ FFetch class calling authentication resources handles RTR data in the session
FFetch class calling authentication resources handles missing RTR data ‑ FFetch class calling authentication resources handles missing RTR data
FFetch class calling authentication resources handles unsuccessful responses ‑ FFetch class calling authentication resources handles unsuccessful responses
FFetch class logging in calls native fetch once ‑ FFetch class logging in calls native fetch once
FFetch class logging out Calling an okapi fetch with valid token... ‑ FFetch class logging out Calling an okapi fetch with valid token...
FFetch class logging out calls native fetch once to log out ‑ FFetch class logging out calls native fetch once to log out
FFetch class logging out fails fetch failure is silently trapped ‑ FFetch class logging out fails fetch failure is silently trapped
FXHR Does not rotate if token is valid ‑ FXHR Does not rotate if token is valid
FXHR calls inherited open method ‑ FXHR calls inherited open method
FXHR calls inherited send method ‑ FXHR calls inherited send method
FXHR calls other prototype methods... ‑ FXHR calls other prototype methods...
FXHR instantiates without error ‑ FXHR instantiates without error
FixedLengthSessionWarning renders 0:00 when time expires ‑ FixedLengthSessionWarning renders 0:00 when time expires
FixedLengthSessionWarning renders a warning with seconds remaining ‑ FixedLengthSessionWarning renders a warning with seconds remaining
FixedLengthSessionWarning uses timers "like sand through an hourglass, so are the elapsed seconds of this warning" -- Soh Kraits ‑ FixedLengthSessionWarning uses timers "like sand through an hourglass, so are the elapsed seconds of this warning" -- Soh Kraits
Given useChunkedCQLFetch allows parameter overrides expose queryKeys based on given ids and endpoint ‑ Given useChunkedCQLFetch allows parameter overrides expose queryKeys based on given ids and endpoint
Given useChunkedCQLFetch allows parameter overrides sets up 1 fetch using alternate ID name ‑ Given useChunkedCQLFetch allows parameter overrides sets up 1 fetch using alternate ID name
Given useChunkedCQLFetch allows parameter overrides sets up 2 fetches with custom limit ‑ Given useChunkedCQLFetch allows parameter overrides sets up 2 fetches with custom limit
Given useChunkedCQLFetch allows work in provided tenant includes tenantId in the generateQueryKey function ‑ Given useChunkedCQLFetch allows work in provided tenant includes tenantId in the generateQueryKey function
Given useChunkedCQLFetch allows work in provided tenant sets up 1 fetch using alternate tenant ID ‑ Given useChunkedCQLFetch allows work in provided tenant sets up 1 fetch using alternate tenant ID
Given useChunkedCQLFetch deduplicates ids as expected sets up 1 fetch for the 5 unique ids ‑ Given useChunkedCQLFetch deduplicates ids as expected sets up 1 fetch for the 5 unique ids
Given useChunkedCQLFetch sets up correct number of fetches sets up 1 fetch for the 5 ids by default ‑ Given useChunkedCQLFetch sets up correct number of fetches sets up 1 fetch for the 5 ids by default
Given useChunkedCQLFetch sets up correct number of fetches sets up 3 fetches for the 5 ids when STEP_SIZE = 2 ‑ Given useChunkedCQLFetch sets up correct number of fetches sets up 3 fetches for the 5 ids when STEP_SIZE = 2
Given useChunkedCQLFetch sets up correct number of fetches sets up 5 fetches for the 5 ids when STEP_SIZE = 1 ‑ Given useChunkedCQLFetch sets up correct number of fetches sets up 5 fetches for the 5 ids when STEP_SIZE = 1
Given useChunkedCQLFetch works with an id list of > 300 ids sets up 1 fetch for the 5 unique ids ‑ Given useChunkedCQLFetch works with an id list of > 300 ids sets up 1 fetch for the 5 unique ids
Given useConfigurations configurationsApi includes code in the API query ‑ Given useConfigurations configurationsApi includes code in the API query
Given useConfigurations configurationsApi includes configName in the API query ‑ Given useConfigurations configurationsApi includes configName in the API query
Given useConfigurations configurationsApi includes module in the API query ‑ Given useConfigurations configurationsApi includes module in the API query
Given useConfigurations configurationsApi joins criteria with "AND" ‑ Given useConfigurations configurationsApi joins criteria with "AND"
Given useConfigurations configurationsApi retrieves all values without any criteria ‑ Given useConfigurations configurationsApi retrieves all values without any criteria
Given useConfigurations correctly checks permissions: with permissions with permission, calls get ‑ Given useConfigurations correctly checks permissions: with permissions with permission, calls get
Given useConfigurations correctly checks permissions: without permissions without permission, throws an error ‑ Given useConfigurations correctly checks permissions: without permissions without permission, throws an error
Given useOkapiEnv correctly checks permissions: with permissions with permission, calls get ‑ Given useOkapiEnv correctly checks permissions: with permissions with permission, calls get
Given useOkapiEnv correctly checks permissions: without permissions without permission, throws an error ‑ Given useOkapiEnv correctly checks permissions: without permissions without permission, throws an error
KeepWorkingModal calls the callback ‑ KeepWorkingModal calls the callback
KeepWorkingModal renders 0:00 when time expires ‑ KeepWorkingModal renders 0:00 when time expires
KeepWorkingModal renders a modal with seconds remaining ‑ KeepWorkingModal renders a modal with seconds remaining
KeepWorkingModal uses timers like sand through an hourglass, so are the elapsed seconds of this modal ‑ KeepWorkingModal uses timers like sand through an hourglass, so are the elapsed seconds of this modal
Logout calls logout and redirects ‑ Logout calls logout and redirects
LogoutTimeout if not authenticated calls logout then renders a timeout message ‑ LogoutTimeout if not authenticated calls logout then renders a timeout message
LogoutTimeout if not authenticated clears previous path from storage after clicking "log in again" ‑ LogoutTimeout if not authenticated clears previous path from storage after clicking "log in again"
LogoutTimeout if not authenticated renders a timeout message ‑ LogoutTimeout if not authenticated renders a timeout message
OIDCLanding calls requestUserWithPerms, setTokenExpiry on success ‑ OIDCLanding calls requestUserWithPerms, setTokenExpiry on success
OIDCLanding displays an error on failure ‑ OIDCLanding displays an error on failure
OIDCRedirect redirects fwd if no authn provided to stripes okapi config ‑ OIDCRedirect redirects fwd if no authn provided to stripes okapi config
OIDCRedirect redirects to value from session storage under unauthorized_path key ‑ OIDCRedirect redirects to value from session storage under unauthorized_path key
ProfileDropdown should display current consortium (if enabled) in the dropdown trigger ‑ ProfileDropdown should display current consortium (if enabled) in the dropdown trigger
ProfileDropdown should display module profile dropdown item ‑ ProfileDropdown should display module profile dropdown item
Redirect updates window.location with "assign" ‑ Redirect updates window.location with "assign"
Redirect updates window.location with "replace" ‑ Redirect updates window.location with "replace"
RootWithIntl AuthnLogin handles legacy login ‑ RootWithIntl AuthnLogin handles legacy login
RootWithIntl AuthnLogin handles third-party login handles multi-tenant ‑ RootWithIntl AuthnLogin handles third-party login handles multi-tenant
RootWithIntl AuthnLogin handles third-party login handles single-tenant ‑ RootWithIntl AuthnLogin handles third-party login handles single-tenant
RootWithIntl renders MainNav given disableAuth ‑ RootWithIntl renders MainNav given disableAuth
RootWithIntl renders MainNav given isAuthenticated ‑ RootWithIntl renders MainNav given isAuthenticated
RootWithIntl renders MainNav given token ‑ RootWithIntl renders MainNav given token
RootWithIntl renders ModuleContainer if config.okapi is not an object ‑ RootWithIntl renders ModuleContainer if config.okapi is not an object
RootWithIntl renders ModuleContainer if discovery is finished ‑ RootWithIntl renders ModuleContainer if discovery is finished
RootWithIntl renders SessionEventContainer ‑ RootWithIntl renders SessionEventContainer
RootWithIntl renders StaleBundleWarning ‑ RootWithIntl renders StaleBundleWarning
RootWithIntl renders login without one of (isAuthenticated, token, disableAuth) ‑ RootWithIntl renders login without one of (isAuthenticated, token, disableAuth)
SSOLanding displays loader when session is set up ‑ SSOLanding displays loader when session is set up
SSOLanding redirects to login page when session is not set up ‑ SSOLanding redirects to login page when session is not set up
SSOLanding should display error when session request failed ‑ SSOLanding should display error when session request failed
SSOLanding should request user session when RTR is disabled and right tenant from ssoToken ‑ SSOLanding should request user session when RTR is disabled and right tenant from ssoToken
SSOLanding should request user session when RTR is disabled and token from query params ‑ SSOLanding should request user session when RTR is disabled and token from query params
SSOLanding should request user session when RTR is disabled with token from cookies ‑ SSOLanding should request user session when RTR is disabled with token from cookies
SSOLanding should request user session when RTR is enabled and right tenant from query params ‑ SSOLanding should request user session when RTR is enabled and right tenant from query params
SessionEventContainer Dispatches logout when modal timer expires ‑ SessionEventContainer Dispatches logout when modal timer expires
SessionEventContainer Renders nothing if useSecureTokens is false ‑ SessionEventContainer Renders nothing if useSecureTokens is false
SessionEventContainer Shows a modal when idle timer expires ‑ SessionEventContainer Shows a modal when idle timer expires
SessionEventContainer event listeners otherWindowActivity ‑ SessionEventContainer event listeners otherWindowActivity
SessionEventContainer event listeners otherWindowStorage logout ‑ SessionEventContainer event listeners otherWindowStorage logout
SessionEventContainer event listeners otherWindowStorage timeout ‑ SessionEventContainer event listeners otherWindowStorage timeout
SessionEventContainer event listeners thisWindowActivity does not ping when modal is visible ‑ SessionEventContainer event listeners thisWindowActivity does not ping when modal is visible
SessionEventContainer event listeners thisWindowActivity pings when modal is hidden ‑ SessionEventContainer event listeners thisWindowActivity pings when modal is hidden
SessionEventContainer event listeners thisWindowRtrError ‑ SessionEventContainer event listeners thisWindowRtrError
SessionEventContainer event listeners thisWindowRtrIstTimeout ‑ SessionEventContainer event listeners thisWindowRtrIstTimeout
Settings should render module settings links ‑ Settings should render module settings links
Settings when location matches a module route should render that module ‑ Settings when location matches a module route should render that module
Settings when stripes object changes should re-render settings with updated stripes object ‑ Settings when stripes object changes should re-render settings with updated stripes object
StaleBundleWarning equal responses render nothing ‑ StaleBundleWarning equal responses render nothing
StaleBundleWarning query reads request body ‑ StaleBundleWarning query reads request body
StaleBundleWarning query reads request header ‑ StaleBundleWarning query reads request header
StaleBundleWarning query returns null if config is absent ‑ StaleBundleWarning query returns null if config is absent
StaleBundleWarning query swallows errors but warns about them ‑ StaleBundleWarning query swallows errors but warns about them
StaleBundleWarning unequal responses render a refresh warning clicking warning button calls reload ‑ StaleBundleWarning unequal responses render a refresh warning clicking warning button calls reload
StaleBundleWarning unequal responses render a refresh warning warning is present ‑ StaleBundleWarning unequal responses render a refresh warning warning is present
Stripes clone returns a matching copy plus additional properties ‑ Stripes clone returns a matching copy plus additional properties
Stripes clone returns a matching copy ‑ Stripes clone returns a matching copy
Stripes hasInterface returns falsy when `discovery.interfaces` is unavailable [undefined] ‑ Stripes hasInterface returns falsy when `discovery.interfaces` is unavailable [undefined]
Stripes hasInterface returns falsy when `discovery` is unavailable [undefined] ‑ Stripes hasInterface returns falsy when `discovery` is unavailable [undefined]
Stripes hasInterface returns falsy when the interface is present but incompatible with the requested version [number, 0] ‑ Stripes hasInterface returns falsy when the interface is present but incompatible with the requested version [number, 0]
Stripes hasInterface returns falsy when the requested interface is absent [undefined] ‑ Stripes hasInterface returns falsy when the requested interface is absent [undefined]
Stripes hasInterface returns truthy when the interface is present and compatible with the requested version [string, available interface] ‑ Stripes hasInterface returns truthy when the interface is present and compatible with the requested version [string, available interface]
Stripes hasInterface returns truthy when the interface is present and the query does not contain a version [boolean, true] ‑ Stripes hasInterface returns truthy when the interface is present and the query does not contain a version [boolean, true]
Stripes hasPerm returns falsy when requested permissions are not assigned [boolean, false] ‑ Stripes hasPerm returns falsy when requested permissions are not assigned [boolean, false]
Stripes hasPerm returns falsy when user perms are uninitialized [undefined] ‑ Stripes hasPerm returns falsy when user perms are uninitialized [undefined]
Stripes hasPerm returns true given hasAllPerms ‑ Stripes hasPerm returns true given hasAllPerms
Stripes hasPerm returns true when requested permissions are assigned ‑ Stripes hasPerm returns true when requested permissions are assigned
TitleManager renders a title with a default postfix ‑ TitleManager renders a title with a default postfix
TitleManager renders prefix, page, record, postfix ‑ TitleManager renders prefix, page, record, postfix
TitleManager renders prefix, record, postfix ‑ TitleManager renders prefix, record, postfix
WarningBanner displays incompatible interfaces ‑ WarningBanner displays incompatible interfaces
WarningBanner displays missing interfaces ‑ WarningBanner displays missing interfaces
checkSSO sets ssoEnabled ‑ checkSSO sets ssoEnabled
clearCurrentUser returns an action with a type ‑ clearCurrentUser returns an action with a type
clearOkapiToken returns an action with a type ‑ clearOkapiToken returns an action with a type
clearRtrTimeout returns an action with a type ‑ clearRtrTimeout returns an action with a type
configureLogger with a config argument, returns a logger with custom values ‑ configureLogger with a config argument, returns a logger with custom values
configureLogger without an argument, returns a logger with default values ‑ configureLogger without an argument, returns a logger with default values
configureRtr leaves existing settings in place ‑ configureRtr leaves existing settings in place
configureRtr sets idleSessionTTL and idleModalTTL ‑ configureRtr sets idleSessionTTL and idleModalTTL
consortiaServices checkIfUserInCentralTenant when consortia interface is not available should return false ‑ consortiaServices checkIfUserInCentralTenant when consortia interface is not available should return false
consortiaServices checkIfUserInCentralTenant when tenant does not match central tenant id should return false ‑ consortiaServices checkIfUserInCentralTenant when tenant does not match central tenant id should return false
consortiaServices checkIfUserInCentralTenant when tenant matches central tenant id should return true ‑ consortiaServices checkIfUserInCentralTenant when tenant matches central tenant id should return true
consortiaServices checkIfUserInMemberTenant when consortia interface is not available should return false ‑ consortiaServices checkIfUserInMemberTenant when consortia interface is not available should return false
consortiaServices checkIfUserInMemberTenant when tenant does not match central tenant id should return true ‑ consortiaServices checkIfUserInMemberTenant when tenant does not match central tenant id should return true
consortiaServices checkIfUserInMemberTenant when tenant matches central tenant id should return false ‑ consortiaServices checkIfUserInMemberTenant when tenant matches central tenant id should return false
createOkapiSession clears authentication errors ‑ createOkapiSession clears authentication errors
discoverServices fetchOkapiVersion handles success ‑ discoverServices fetchOkapiVersion handles success
discoverServices handles errors ‑ discoverServices handles errors
discoverServices handles failures ‑ discoverServices handles failures
discoveryReducer handles DISCOVERY_APPLICATIONS ‑ discoveryReducer handles DISCOVERY_APPLICATIONS
discoveryReducer handles DISCOVERY_FAILURE ‑ discoveryReducer handles DISCOVERY_FAILURE
discoveryReducer handles DISCOVERY_FINISHED ‑ discoveryReducer handles DISCOVERY_FINISHED
discoveryReducer handles DISCOVERY_INTERFACES ‑ discoveryReducer handles DISCOVERY_INTERFACES
discoveryReducer handles DISCOVERY_OKAPI ‑ discoveryReducer handles DISCOVERY_OKAPI
discoveryReducer handles DISCOVERY_PERMISSION_DISPLAY_NAMES ‑ discoveryReducer handles DISCOVERY_PERMISSION_DISPLAY_NAMES
discoveryReducer handles DISCOVERY_PROVIDERS ‑ discoveryReducer handles DISCOVERY_PROVIDERS
discoveryReducer handles DISCOVERY_SUCCESS ‑ discoveryReducer handles DISCOVERY_SUCCESS
discoveryReducer handles empty DISCOVERY_INTERFACES ‑ discoveryReducer handles empty DISCOVERY_INTERFACES
discoveryReducer handles empty DISCOVERY_PROVIDERS ‑ discoveryReducer handles empty DISCOVERY_PROVIDERS
discoveryReducer passes state through for other actions ‑ discoveryReducer passes state through for other actions
enhanceReducer passes through other actions ‑ enhanceReducer passes through other actions
enhanceReducer provides DESTROY_STORE ‑ enhanceReducer provides DESTROY_STORE
enhanceReducer provides RESET_STORE ‑ enhanceReducer provides RESET_STORE
entryFor should find a matching entry ‑ entryFor should find a matching entry
entryFor should return empty string for missing configs ‑ entryFor should return empty string for missing configs
entryFor should return empty string for missing entry ‑ entryFor should return empty string for missing entry
finds conditional fields finds an install-date even when no install-version is present ‑ finds conditional fields finds an install-date even when no install-version is present
finds conditional fields finds an install-version when no install-date is present ‑ finds conditional fields finds an install-version when no install-date is present
gatherActions gathers actions from modules ‑ gatherActions gathers actions from modules
getBindings dispatches setBindings ‑ getBindings dispatches setBindings
getEventHandler calls module's handler when it is defined ‑ getEventHandler calls module's handler when it is defined
getEventHandler does nothing in modules without handlers ‑ getEventHandler does nothing in modules without handlers
getEventHandlers returns handlers from modules that contain them ‑ getEventHandlers returns handlers from modules that contain them
getLocale dispatches setTimezone, setCurrency ‑ getLocale dispatches setTimezone, setCurrency
getPlugins dispatches setPlugins ‑ getPlugins dispatches setPlugins
getPromise when isRotating is false receives a resolved promise ‑ getPromise when isRotating is false receives a resolved promise
getPromise when isRotating is true waits until localStorage's RTR_IS_ROTATING flag is cleared ‑ getPromise when isRotating is true waits until localStorage's RTR_IS_ROTATING flag is cleared
getUserLocale dispatches setTimezone, setCurrency ‑ getUserLocale dispatches setTimezone, setCurrency
getUserTenantsPermissions X-Okapi-Token header is absent if absent from stripes ‑ getUserTenantsPermissions X-Okapi-Token header is absent if absent from stripes
getUserTenantsPermissions X-Okapi-Token header is present if present in stripes ‑ getUserTenantsPermissions X-Okapi-Token header is present if present in stripes
getUserTenantsPermissions response aggregates permissions across tenants ‑ getUserTenantsPermissions response aggregates permissions across tenants
handleLoginError dispatches setOkapiReady ‑ handleLoginError dispatches setOkapiReady
hideEmail masks email addresses ‑ hideEmail masks email addresses
installDate should find a stripesConf value ‑ installDate should find a stripesConf value
installDate should prefer conf over stripesConf ‑ installDate should prefer conf over stripesConf
installDate should prefer env over conf, stripesConf ‑ installDate should prefer env over conf, stripesConf
installDate should return empty string for missing configs ‑ installDate should return empty string for missing configs
installMessage should find a stripesConf value ‑ installMessage should find a stripesConf value
installMessage should prefer conf over stripesConf ‑ installMessage should prefer conf over stripesConf
installMessage should prefer env over conf, stripesConf ‑ installMessage should prefer env over conf, stripesConf
installMessage should return empty string for missing configs ‑ installMessage should return empty string for missing configs
installVersion should find a stripesConf value ‑ installVersion should find a stripesConf value
installVersion should prefer conf over stripesConf ‑ installVersion should prefer conf over stripesConf
installVersion should prefer env over conf, stripesConf ‑ installVersion should prefer env over conf, stripesConf
installVersion should return empty string for missing configs ‑ installVersion should return empty string for missing configs
isAuthenticationRequest accepts authn endpoints ‑ isAuthenticationRequest accepts authn endpoints
isAuthenticationRequest rejects invalid input ‑ isAuthenticationRequest rejects invalid input
isAuthenticationRequest rejects unknown endpoints ‑ isAuthenticationRequest rejects unknown endpoints
isFolioApiRequest accepts requests whose origin matches okapi's ‑ isFolioApiRequest accepts requests whose origin matches okapi's
isFolioApiRequest rejects invalid resource input ‑ isFolioApiRequest rejects invalid resource input
isFolioApiRequest rejects requests whose origin does not match okapi's ‑ isFolioApiRequest rejects requests whose origin does not match okapi's
isLogoutRequest accepts logout endpoints ‑ isLogoutRequest accepts logout endpoints
isLogoutRequest rejects invalid input ‑ isLogoutRequest rejects invalid input
isLogoutRequest rejects unknown endpoints ‑ isLogoutRequest rejects unknown endpoints
isRotating returns false if key is absent ‑ isRotating returns false if key is absent
isRotating returns false if key is present but expired ‑ isRotating returns false if key is present but expired
isRotating returns true if key is present and not stale ‑ isRotating returns true if key is present and not stale
isVersionCompatible accepts compatible majors ‑ isVersionCompatible accepts compatible majors
isVersionCompatible accepts compatible minors ‑ isVersionCompatible accepts compatible minors
isVersionCompatible accepts compatible patches ‑ isVersionCompatible accepts compatible patches
isVersionCompatible rejects incompatible majors ‑ isVersionCompatible rejects incompatible majors
isVersionCompatible rejects incompatible minors ‑ isVersionCompatible rejects incompatible minors
isVersionCompatible rejects incompatible patches ‑ isVersionCompatible rejects incompatible patches
loadTranslations dispatches setLocale ‑ loadTranslations dispatches setLocale
loadTranslations sets document attributes correctly sets dir (LTR) ‑ loadTranslations sets document attributes correctly sets dir (LTR)
loadTranslations sets document attributes correctly sets dir (RTL) ‑ loadTranslations sets document attributes correctly sets dir (RTL)
loadTranslations sets document attributes correctly sets lang given region ‑ loadTranslations sets document attributes correctly sets lang given region
loadTranslations sets document attributes correctly sets lang without region ‑ loadTranslations sets document attributes correctly sets lang without region
localforage session wrapper getOkapiSession retrieves a session object ‑ localforage session wrapper getOkapiSession retrieves a session object
localforage session wrapper getTokenExpiry finds tokenExpiration ‑ localforage session wrapper getTokenExpiry finds tokenExpiration
localforage session wrapper getTokenExpiry handles missing tokenExpiration ‑ localforage session wrapper getTokenExpiry handles missing tokenExpiration
localforage session wrapper setTokenExpiry set ‑ localforage session wrapper setTokenExpiry set
logout when logout has not started in this window calls fetch() when other window is not logging out ‑ logout when logout has not started in this window calls fetch() when other window is not logging out
logout when logout has not started in this window clears the redux store ‑ logout when logout has not started in this window clears the redux store
logout when logout has not started in this window does not call fetch() when other window is logging out ‑ logout when logout has not started in this window does not call fetch() when other window is logging out
logout when logout has started in this window returns immediately ‑ logout when logout has started in this window returns immediately
okapiReducer CHECK_SSO ‑ okapiReducer CHECK_SSO
okapiReducer CLEAR_CURRENT_USER ‑ okapiReducer CLEAR_CURRENT_USER
okapiReducer CLEAR_OKAPI_TOKEN ‑ okapiReducer CLEAR_OKAPI_TOKEN
okapiReducer CLEAR_RTR_FLS_TIMEOUT ‑ okapiReducer CLEAR_RTR_FLS_TIMEOUT
okapiReducer CLEAR_RTR_FLS_WARNING_TIMEOUT ‑ okapiReducer CLEAR_RTR_FLS_WARNING_TIMEOUT
okapiReducer CLEAR_RTR_TIMEOUT ‑ okapiReducer CLEAR_RTR_TIMEOUT
okapiReducer OKAPI_READY ‑ okapiReducer OKAPI_READY
okapiReducer SERVER_DOWN ‑ okapiReducer SERVER_DOWN
okapiReducer SET_AUTH_FAILURE ‑ okapiReducer SET_AUTH_FAILURE
okapiReducer SET_BINDINGS ‑ okapiReducer SET_BINDINGS
okapiReducer SET_CURRENCY ‑ okapiReducer SET_CURRENCY
okapiReducer SET_CURRENT_PERMS ‑ okapiReducer SET_CURRENT_PERMS
okapiReducer SET_CURRENT_USER ‑ okapiReducer SET_CURRENT_USER
okapiReducer SET_IS_AUTHENTICATED if isAuthenticated is false, clears rtr state ‑ okapiReducer SET_IS_AUTHENTICATED if isAuthenticated is false, clears rtr state
okapiReducer SET_IS_AUTHENTICATED sets isAuthenticated to true ‑ okapiReducer SET_IS_AUTHENTICATED sets isAuthenticated to true
okapiReducer SET_LOCALE ‑ okapiReducer SET_LOCALE
okapiReducer SET_LOGIN_DATA ‑ okapiReducer SET_LOGIN_DATA
okapiReducer SET_OKAPI_TENANT ‑ okapiReducer SET_OKAPI_TENANT
okapiReducer SET_OKAPI_TOKEN ‑ okapiReducer SET_OKAPI_TOKEN
okapiReducer SET_PLUGINS ‑ okapiReducer SET_PLUGINS
okapiReducer SET_RTR_FLS_TIMEOUT ‑ okapiReducer SET_RTR_FLS_TIMEOUT
okapiReducer SET_RTR_FLS_WARNING_TIMEOUT ‑ okapiReducer SET_RTR_FLS_WARNING_TIMEOUT
okapiReducer SET_RTR_TIMEOUT ‑ okapiReducer SET_RTR_TIMEOUT
okapiReducer SET_SESSION_DATA replaces existing tenant given a new one ‑ okapiReducer SET_SESSION_DATA replaces existing tenant given a new one
okapiReducer SET_SESSION_DATA retains existing tenant ‑ okapiReducer SET_SESSION_DATA retains existing tenant
okapiReducer SET_SINGLE_PLUGIN ‑ okapiReducer SET_SINGLE_PLUGIN
okapiReducer SET_TIMEZONE ‑ okapiReducer SET_TIMEZONE
okapiReducer SET_TOKEN_EXPIRATION ‑ okapiReducer SET_TOKEN_EXPIRATION
okapiReducer SET_TRANSLATIONS ‑ okapiReducer SET_TRANSLATIONS
okapiReducer TOGGLE_RTR_MODAL ‑ okapiReducer TOGGLE_RTR_MODAL
okapiReducer UPDATE_CURRENT_USER ‑ okapiReducer UPDATE_CURRENT_USER
okapiReducer initializes state to an empty object ‑ okapiReducer initializes state to an empty object
okapiReducer returns existing state given an unknown action ‑ okapiReducer returns existing state given an unknown action
processBadResponse shows default error if response processing throws ‑ processBadResponse shows default error if response processing throws
processBadResponse shows default error without defaultClientError ‑ processBadResponse shows default error without defaultClientError
processBadResponse shows given error given 400 ‑ processBadResponse shows given error given 400
processBadResponse shows login error given 422 and error string ‑ processBadResponse shows login error given 422 and error string
processBadResponse shows login error given 422 and errors ‑ processBadResponse shows login error given 422 and errors
processBadResponse shows login error given 422 and string ‑ processBadResponse shows login error given 422 and string
processBadResponse shows login server error given 404 ‑ processBadResponse shows login server error given 404
processBadResponse shows login server error given 500 ‑ processBadResponse shows login server error given 500
processOkapiSession handles error ‑ processOkapiSession handles error
processOkapiSession handles success ‑ processOkapiSession handles success
queryLimit should return 2000 ‑ queryLimit should return 2000
resourceMapper accepts Requests ‑ resourceMapper accepts Requests
resourceMapper accepts URLs ‑ resourceMapper accepts URLs
resourceMapper accepts strings ‑ resourceMapper accepts strings
resourceMapper rejects other argument types ‑ resourceMapper rejects other argument types
rtr handles simultaneous rotation multiple window (storage event) ‑ rtr handles simultaneous rotation multiple window (storage event)
rtr handles simultaneous rotation same window (RTR_SUCCESS_EVENT) ‑ rtr handles simultaneous rotation same window (RTR_SUCCESS_EVENT)
rtr on known error, throws error ‑ rtr on known error, throws error
rtr on unknown error, throws generic error ‑ rtr on unknown error, throws generic error
rtr rotates ‑ rtr rotates
setAuthError sets message ‑ setAuthError sets message
setBindings sets bindings ‑ setBindings sets bindings
setCurrency sets currency ‑ setCurrency sets currency
setCurrentPerms sets currentPerms ‑ setCurrentPerms sets currentPerms
setCurrentUser sets currentUser ‑ setCurrentUser sets currentUser
setIsAuthenticated handles falsey values ‑ setIsAuthenticated handles falsey values
setIsAuthenticated handles truthy values ‑ setIsAuthenticated handles truthy values
setLocale sets locale ‑ setLocale sets locale
setLoginData receives given data in "loginData" ‑ setLoginData receives given data in "loginData"
setOkapiReady returns an action with a type ‑ setOkapiReady returns an action with a type
setOkapiToken sets token ‑ setOkapiToken sets token
setPlugins sets plugins ‑ setPlugins sets plugins
setRtrTimeout sets rtrTimeout ‑ setRtrTimeout sets rtrTimeout
setServerDown returns an action with a type ‑ setServerDown returns an action with a type
setSessionData sets session ‑ setSessionData sets session
setSinglePlugin sets name and value ‑ setSinglePlugin sets name and value
setTimezone sets timezone ‑ setTimezone sets timezone
setTokenExpiration sets tokenExpiration ‑ setTokenExpiration sets tokenExpiration
setTranslations sets translations ‑ setTranslations sets translations
supportedLocales is an array of strings ‑ supportedLocales is an array of strings
supportedNumberingSystems is an array of strings ‑ supportedNumberingSystems is an array of strings
toggleRtrModal sets isVisible ‑ toggleRtrModal sets isVisible
unauthorizedPath functions getUnauthorizedPathFromSession retrieves the value ‑ unauthorizedPath functions getUnauthorizedPathFromSession retrieves the value
unauthorizedPath functions removeUnauthorizedPathFromSession clears the value ‑ unauthorizedPath functions removeUnauthorizedPathFromSession clears the value
unauthorizedPath functions setUnauthorizedPathToSession refuses to set locations beginning with "/logout" with an argument ‑ unauthorizedPath functions setUnauthorizedPathToSession refuses to set locations beginning with "/logout" with an argument
unauthorizedPath functions setUnauthorizedPathToSession refuses to set locations beginning with "/logout" without an argument ‑ unauthorizedPath functions setUnauthorizedPathToSession refuses to set locations beginning with "/logout" without an argument
unauthorizedPath functions setUnauthorizedPathToSession stores the current location given no value ‑ unauthorizedPath functions setUnauthorizedPathToSession stores the current location given no value
unauthorizedPath functions setUnauthorizedPathToSession stores the given value ‑ unauthorizedPath functions setUnauthorizedPathToSession stores the given value
updateCurrentUser receives given data in "data" ‑ updateCurrentUser receives given data in "data"
updateTenant should set tenant and updated user in session ‑ updateTenant should set tenant and updated user in session
updateUser dispatches updateCurrentUser ‑ updateUser dispatches updateCurrentUser
useOkapiKy overrides tenant ‑ useOkapiKy overrides tenant
useOkapiKy provides default values if stripes lacks them ‑ useOkapiKy provides default values if stripes lacks them
useOkapiKy pulls values from stripes object ‑ useOkapiKy pulls values from stripes object
useOkapiKy when tenant param is not null, but an empty value should use okapi tenant id ‑ useOkapiKy when tenant param is not null, but an empty value should use okapi tenant id
useUserSelfTenantPermissions should fetch user permissions for specified tenant ‑ useUserSelfTenantPermissions should fetch user permissions for specified tenant
useUserTenantPermissionNames should fetch user permissions for specified tenant ‑ useUserTenantPermissionNames should fetch user permissions for specified tenant
useUserTenantPermissions should return _self permissions data when "roles" interface is present ‑ useUserTenantPermissions should return _self permissions data when "roles" interface is present
useUserTenantPermissions should return tenant permissions data when "roles" interface is NOT present ‑ useUserTenantPermissions should return tenant permissions data when "roles" interface is NOT present
validateEmail accepts valid email addresses ‑ validateEmail accepts valid email addresses
validateEmail accepts values with comments in username ‑ validateEmail accepts values with comments in username
validateEmail rejects values with whitespace ‑ validateEmail rejects values with whitespace
validateEmail rejects values without @ ‑ validateEmail rejects values without @
validateEmail rejects values without domain suffix ‑ validateEmail rejects values without domain suffix
validateForgotUsernameForm accepts valid email addresses and phone numbers accepts valid email addresses ‑ validateForgotUsernameForm accepts valid email addresses and phone numbers accepts valid email addresses
validateForgotUsernameForm accepts valid email addresses and phone numbers accepts values with comments in username ‑ validateForgotUsernameForm accepts valid email addresses and phone numbers accepts values with comments in username
validateForgotUsernameForm accepts valid email addresses and phone numbers accepts values with numbers and dashes ‑ validateForgotUsernameForm accepts valid email addresses and phone numbers accepts values with numbers and dashes
validateForgotUsernameForm accepts valid email addresses and phone numbers accepts values with numbers and dots ‑ validateForgotUsernameForm accepts valid email addresses and phone numbers accepts values with numbers and dots
validateForgotUsernameForm accepts valid email addresses and phone numbers accepts values with numbers only ‑ validateForgotUsernameForm accepts valid email addresses and phone numbers accepts values with numbers only
validateForgotUsernameForm rejects values that are not valid email addresses or phone numbers ‑ validateForgotUsernameForm rejects values that are not valid email addresses or phone numbers
validatePhoneNumber accepts values with numbers and dashes ‑ validatePhoneNumber accepts values with numbers and dashes
validatePhoneNumber accepts values with numbers and dots ‑ validatePhoneNumber accepts values with numbers and dots
validatePhoneNumber accepts values with numbers only ‑ validatePhoneNumber accepts values with numbers only
validatePhoneNumber rejects values containing characters other than numbers, dashes, and dots ‑ validatePhoneNumber rejects values containing characters other than numbers, dashes, and dots
validateUser handles fetch failure from "_self" ‑ validateUser handles fetch failure from "_self"
validateUser handles invalid user ‑ validateUser handles invalid user
validateUser handles valid user with empty tenant in session ‑ validateUser handles valid user with empty tenant in session
validateUser handles valid user with tenant in session ‑ validateUser handles valid user with tenant in session
validateUser overwrites session data with new values from _self ‑ validateUser overwrites session data with new values from _self