diff options
Diffstat (limited to 'comm/mail/components/extensions/test/xpcshell/head-imap.js')
-rw-r--r-- | comm/mail/components/extensions/test/xpcshell/head-imap.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/comm/mail/components/extensions/test/xpcshell/head-imap.js b/comm/mail/components/extensions/test/xpcshell/head-imap.js new file mode 100644 index 0000000000..ac85c52b64 --- /dev/null +++ b/comm/mail/components/extensions/test/xpcshell/head-imap.js @@ -0,0 +1,12 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* import-globals-from head.js */ + +var IS_IMAP = true; + +let wrappedCreateAccount = createAccount; +createAccount = function (type = "imap") { + return wrappedCreateAccount(type); +}; |