Skip to content

Commit 4f06883

Browse files
committed
Only remove this mock module, not all, in teardown
1 parent 7997a71 commit 4f06883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/initData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ module.exports = function(mocks, plugins, skipDefaults){
8989

9090
module.exports.teardown = function(){
9191
var ptor = getProtractorInstance();
92-
ptor.clearMockModules();
92+
ptor.removeMockModule('httpMock');
9393
};
9494

9595
module.exports.requestsMade = function() {

0 commit comments

Comments
 (0)