Skip to content

Commit 0c83251

Browse files
committed
chapter 03: fixing alwaysValidFakeExtensionManager, I didn't create the function return
1 parent 2c44a3a commit 0c83251

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

chapter_03-using-stubs-to-break-dependencies/LogAn/alwaysValidFakeExtensionManager.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ function alwaysValidFakeExtensionManager() {
55
function isValid(fileName) {
66
return true;
77
}
8+
9+
return {
10+
isValid,
11+
};
812
}
913

1014
module.exports = alwaysValidFakeExtensionManager;

0 commit comments

Comments
 (0)