Skip to content

Commit 4b560f2

Browse files
author
Zvonimir Sabljic
committed
Enable a function with export type 'exportFnDef' to be added to the function list
1 parent 5fe1665 commit 4b560f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/helpers/unitTests.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ async function processFile(filePath) {
4444
exportsFn.push(funcName);
4545
} else if (type === 'exportObj') {
4646
exportsObj.push(funcName);
47-
} else {
47+
}
48+
49+
if (!['exportFn', 'exportObj'].includes(type)) {
4850
functions.push({
4951
funcName,
5052
code: generator(path.node).code,

0 commit comments

Comments
 (0)