Bug 1446571: Follow-up: Fix tests that try to initialize AddonTestUtils twice. r=bustage DONTBUILD

MozReview-Commit-ID: Thu6IrAx1Z
This commit is contained in:
Kris Maglione 2018-03-20 20:18:38 -07:00
Родитель 140cc17b5d
Коммит 6620eb80a1
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -225,6 +225,9 @@ var AddonTestUtils = {
},
init(testScope) {
if (this.testScope === testScope) {
return;
}
this.testScope = testScope;
// Get the profile directory for tests to use.