Remove zipDirectory debugging

This commit is contained in:
Dan Stillman 2016-06-24 16:54:34 -04:00
parent 2c2a5a3787
commit b1e98929fa

View file

@ -71,15 +71,7 @@ describe("Zotero.File", function () {
}) })
describe("#zipDirectory()", function () { describe("#zipDirectory()", function () {
afterEach(function () {
Zotero.Prefs.set('debug.log', false);
Zotero.Debug.init();
});
it("should compress a directory recursively", function* () { it("should compress a directory recursively", function* () {
Zotero.Prefs.set('debug.log', true);
Zotero.Debug.init();
var tmpPath = Zotero.getTempDirectory().path; var tmpPath = Zotero.getTempDirectory().path;
var path = OS.Path.join(tmpPath, Zotero.Utilities.randomString()); var path = OS.Path.join(tmpPath, Zotero.Utilities.randomString());
yield OS.File.makeDir(path); yield OS.File.makeDir(path);