Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/nls/root/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1605,8 +1605,8 @@ define({
"OPEN_SIGN_IN_URL": "Open Sign In Page",
"PROFILE_POP_TITLE": "{APP_NAME} Account",
"PROFILE_SIGN_IN": "Sign in to your account",
"CONTACT_SUPPORT": "Contact support",
"SIGN_OUT": "Sign out",
"CONTACT_SUPPORT": "Contact Support",
"SIGN_OUT": "Sign Out",
"ACCOUNT_DETAILS": "Account Details",
"LOGIN_REFRESH": "Check Login Status",
"SIGN_IN_WAITING_TITLE": "Waiting for Sign In",
Expand Down
9 changes: 9 additions & 0 deletions src/services/login-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,15 @@ define(function (require, exports, module) {
init();
}

// Test-only exports for integration testing
if (Phoenix.isTestWindow) {
window._test_login_browser_exports = {
setFetchFn: function _setFetchFn(fn) {
fetchFn = fn;
}
};
}

// public exports
exports.isLoggedIn = isLoggedIn;

Expand Down
9 changes: 9 additions & 0 deletions src/services/login-desktop.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,15 @@ define(function (require, exports, module) {
init();
}

// Test-only exports for integration testing
if (Phoenix.isTestWindow) {
window._test_login_desktop_exports = {
setFetchFn: function _setFetchFn(fn) {
fetchFn = fn;
}
};
}

// public exports
exports.isLoggedIn = isLoggedIn;

Expand Down
2 changes: 2 additions & 0 deletions test/UnitTestSuite.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ define(function (require, exports, module) {
require("spec/Generic-integ-test");
require("spec/spacing-auto-detect-integ-test");
require("spec/promotions-integ-test");
require("spec/login-browser-integ-test");
require("spec/login-desktop-integ-test");
require("spec/LocalizationUtils-test");
require("spec/ScrollTrackHandler-integ-test");
require("spec/login-utils-test");
Expand Down
Loading
Loading