aboutsummaryrefslogtreecommitdiffstats
path: root/gentests.js
diff options
context:
space:
mode:
Diffstat (limited to 'gentests.js')
-rw-r--r--gentests.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/gentests.js b/gentests.js
index a84c2079d..0d87a11cb 100644
--- a/gentests.js
+++ b/gentests.js
@@ -94,8 +94,8 @@ async function startContainer (fileRegEx) {
.map((s) => {
const proxyKeys = s.match(/{.+}/)[0].match(/\w+/g)
return '\'' + s.match(/'(.+)'/)[1] + '\': { ' + (proxyKeys.length > 1
- ? '\n ' + proxyKeys.join(': () => {},\n ') + ': () => {},\n '
- : proxyKeys[0] + ': () => {},') + ' }'
+ ? '\n ' + proxyKeys.join(': () => {},\n ') + ': () => {},\n '
+ : proxyKeys[0] + ': () => {},') + ' }'
})
.join(',\n ') + '\n}')
.replace('{ connect: () => {}, },', `{
@@ -205,7 +205,7 @@ function generateContainerTest (sPath, {
mapDispatchToPropsMethodNames,
proxyquireObject,
}) {
-return `import assert from 'assert'
+ return `import assert from 'assert'
import proxyquire from 'proxyquire'
import sinon from 'sinon'