summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/import/test/unit/head_import.js
blob: 19be6a26625763b0928229ef2a03ad1ebcfb70c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
var { MailServices } = ChromeUtils.import(
  "resource:///modules/MailServices.jsm"
);
var { XPCOMUtils } = ChromeUtils.importESModule(
  "resource://gre/modules/XPCOMUtils.sys.mjs"
);

var CC = Components.Constructor;

// Ensure the profile directory is set up
do_get_profile();

// Import the required setup scripts.
/* import-globals-from ../../../test/resources/abSetup.js */
load("../../../resources/abSetup.js");

// Import the script with basic import functions
/* import-globals-from resources/import_helper.js */
load("resources/import_helper.js");

registerCleanupFunction(function () {
  load("../../../resources/mailShutdown.js");
});