Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 3105bae

Browse files
committed
Use SpecRunnerUtils.deletePath() instead of removeTempDirectory
1 parent fe3b1d0 commit 3105bae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/spec/ExtensionInstallation-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ define(function (require, exports, module) {
132132
afterEach(function () {
133133
ExtensionLoader.getUserExtensionPath = realGetUserExtensionPath;
134134
ExtensionLoader.loadExtension = realLoadExtension;
135-
var promise = SpecRunnerUtils.removeTempDirectory();
135+
var promise = SpecRunnerUtils.deletePath(mockGetUserExtensionPath(), true);
136136
waitsForDone(promise, "Mock Extension Removal", 2000);
137137
});
138138

0 commit comments

Comments
 (0)