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
awaitexpect(customAdobeState.init({ ...fakeCredentials,region: 'emea'})).rejects.toThrow('[AdobeStateLib:ERROR_BAD_ARGUMENT] AIO_CLI_ENV=stage only supports the amer region.')
744
+
awaitexpect(customAdobeState.init({ ...fakeCredentials,region: 'apac'})).rejects.toThrow('[AdobeStateLib:ERROR_BAD_ARGUMENT] AIO_CLI_ENV=stage only supports the amer region.')
745
+
awaitexpect(customAdobeState.init({ ...fakeCredentials,region: 'amerr'})).rejects.toThrow('[AdobeStateLib:ERROR_BAD_ARGUMENT] AIO_CLI_ENV=stage only supports the amer region.')
746
+
})
747
+
748
+
test('region=amer',async()=>{
749
+
jest.resetModules()
750
+
constregion='amer'
751
+
752
+
// need to instantiate a new store, when env changes
0 commit comments