mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
node_tests: Add remaining tests for panels.js.
In this commit, we add the node tests for `panels.js`, which started
in 2f36c5aefc commit (it added tests for
the server upgrade alert).
This commit is contained in:
@@ -35,7 +35,7 @@ const get_step = function ($process) {
|
||||
return $process.find("[data-step]:visible").data("step");
|
||||
};
|
||||
|
||||
function should_show_notifications(ls) {
|
||||
export function should_show_notifications(ls) {
|
||||
// if the user said to never show banner on this computer again, it will
|
||||
// be stored as `true` so we want to negate that.
|
||||
if (localstorage.supported() && ls.get("dontAskForNotifications") === true) {
|
||||
|
||||
Reference in New Issue
Block a user