Skip to content

Commit e8caed0

Browse files
committed
chapter 04: organizing a bit more the files to improve the 'first glance' effect of LogAn folder
1 parent 36ad452 commit e8caed0

File tree

7 files changed

+4
-4
lines changed

7 files changed

+4
-4
lines changed

chapter_04-interaction-testing-using-mock-objects/LogAn/logAnalyzer.class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ArgumentError = require('./ArgumentError');
1+
const ArgumentError = require('./errors/ArgumentError');
22
const fileExtensionManagerFactory = require('./fileExtensionManager');
33

44
class LogAnalyzer {

chapter_04-interaction-testing-using-mock-objects/LogAn/logAnalyzer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ArgumentError = require('./ArgumentError');
1+
const ArgumentError = require('./errors/ArgumentError');
22

33
function logAnalyzer(extensionManager) {
44
/**

chapter_04-interaction-testing-using-mock-objects/LogAn/logAnalyzer.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const logAnalyzerFactory = require('./logAnalyzer');
2-
const fakeExtensionManagerFactory = require('./fakeExtensionManager');
2+
const fakeExtensionManagerFactory = require('./fakes/fakeExtensionManager');
33
const extensionManagerFactory = require('./extensionManager');
44

55
// imported to try the technique "Extract and override"

chapter_04-interaction-testing-using-mock-objects/LogAn/testableLogAnalyzer.class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const fakeExtensionManagerFactory = require('./fakeExtensionManager');
1+
const fakeExtensionManagerFactory = require('./fakes/fakeExtensionManager');
22
const logAnalizer = require('./logAnalyzer.class');
33

44
class TestableLogAnalyzer extends logAnalizer {

0 commit comments

Comments
 (0)