Skip to content

Commit 2f7e5d0

Browse files
author
Gregg Van Hove
committed
Only load spec files once
- Fixes #161
1 parent e1657e3 commit 2f7e5d0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/jasmine.js

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ Jasmine.prototype.addMatchers = function(matchers) {
8686

8787
Jasmine.prototype.loadSpecs = function() {
8888
this.specFiles.forEach(function(file) {
89-
delete require.cache[require.resolve(file)];
9089
require(file);
9190
});
9291
};

0 commit comments

Comments
 (0)