mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
DEV: Add acceptance tests for bookmarks with reminders (#9592)
This commit is contained in:
@ -36,6 +36,11 @@ export function logIn() {
|
||||
User.resetCurrent(currentUser());
|
||||
}
|
||||
|
||||
// Note: Only use if `loggedIn: true` has been used in an acceptance test
|
||||
export function loggedInUser() {
|
||||
return User.current();
|
||||
}
|
||||
|
||||
const Plugin = $.fn.modal;
|
||||
const Modal = Plugin.Constructor;
|
||||
|
||||
|
Reference in New Issue
Block a user