feat: make editable code available in tests

This commit is contained in:
Oliver Eyton-Williams
2020-07-15 11:28:20 +02:00
committed by Mrugesh Mohapatra
parent 6e091a7cdb
commit 68b223322f
9 changed files with 120 additions and 30 deletions

View File

@@ -138,7 +138,13 @@ function loadCodeEpic(action$, state$) {
...file,
contents: codeFound[file.key]
? codeFound[file.key].contents
: file.contents
: file.contents,
editableContents: codeFound[file.key]
? codeFound[file.key].editableContents
: file.editableContents,
editableRegionBoundaries: codeFound[file.key]
? codeFound[file.key].editableRegionBoundaries
: file.editableRegionBoundaries
}
}),
{}