(node)
| 71 | }, |
| 72 | |
| 73 | ImportDeclaration(node) { |
| 74 | const {specifiers} = node; |
| 75 | const source = node.source.value; |
| 76 | |
| 77 | if (specifiers.length === 0) { |
| 78 | return; |
| 79 | } |
| 80 | for (let i = 0; i < specifiers.length; i++) { |
| 81 | if (specifiers[i].type === 'ImportNamespaceSpecifier') { |
| 82 | return; |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | const imports = getImportMap(node); |
| 87 | let nodes = imports.get(source); |
| 88 | if (!nodes) { |
| 89 | nodes = []; |
| 90 | imports.set(source, nodes); |
| 91 | } |
| 92 | |
| 93 | nodes.push(node); |
| 94 | }, |
| 95 | }; |
| 96 | }, |
| 97 | }; |
nothing calls this directly
no test coverage detected