Skip to content

Commit 6c8cd4f

Browse files
committed
command-query separation (prob from CS port)
1 parent f54bada commit 6c8cd4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/store/stubbings.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ var callbackArgs = (stubbing, expectedArg) => {
6666

6767
var callCallback = (stubbing, callback, args) => {
6868
if (stubbing.config.delay) {
69-
return _.delay(callback, stubbing.config.delay, ...args)
69+
_.delay(callback, stubbing.config.delay, ...args)
7070
} else if (stubbing.config.defer) {
71-
return _.defer(callback, ...args)
71+
_.defer(callback, ...args)
7272
} else {
73-
return callback(...args) // eslint-disable-line
73+
callback(...args) // eslint-disable-line
7474
}
7575
}
7676

0 commit comments

Comments
 (0)