Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 35b07da

Browse files
authored
[sources] fix isTesting (firefox-devtools#6601)
1 parent 911bce5 commit 35b07da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reducers/sources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ export const getSelectedSource = createSelector(
419419
const source = sources[selectedLocation.sourceId];
420420

421421
// TODO: remove this when the immutable refactor lands in m-c
422-
if (isTesting) {
422+
if (isTesting()) {
423423
const testSource: any = { ...source, get: field => source[field] };
424424
return testSource;
425425
}

0 commit comments

Comments
 (0)