We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea45b17 commit 27e23beCopy full SHA for 27e23be
src/helpers/unitTests.js
@@ -40,9 +40,7 @@ async function processFile(filePath) {
40
let ast = await getAstFromFilePath(filePath);
41
let syntaxType = await getModuleTypeFromFilePath(ast);
42
processAst(ast, (funcName, path, type) => {
43
- if (type === 'exportFnDef') {
44
- exportsFn.push(funcName);
45
- } else if (type === 'exportFn') {
+ if (type === 'exportFn' || type === 'exportFnDef') {
46
exportsFn.push(funcName);
47
} else if (type === 'exportObj') {
48
exportsObj.push(funcName);
0 commit comments