Skip to content

Commit 3a8ed98

Browse files
authored
Merge pull request #111 from incuna/stop-clearing-all-mock-modules
Only remove this mock module, not all, in teardown
2 parents 407bad0 + 4f06883 commit 3a8ed98

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
@@ -90,7 +90,7 @@ module.exports = function(mocks, plugins, skipDefaults){
9090

9191
module.exports.teardown = function(){
9292
var ptor = getProtractorInstance();
93-
ptor.clearMockModules();
93+
ptor.removeMockModule('httpMock');
9494
};
9595

9696
module.exports.requestsMade = function() {

0 commit comments

Comments
 (0)