summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/test/xpcshell/test_harness.js
blob: 8be3cdcf22b600719c37dd590fde1d9e44d09003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"use strict";

// Test that the test harness is sane.

// Test that the temporary directory is actually overridden in the
// directory service.
add_task(async function test_TmpD_override() {
  equal(
    FileUtils.getDir("TmpD", []).path,
    AddonTestUtils.tempDir.path,
    "Should get the correct temporary directory from the directory service"
  );
});