mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-15 03:31:18 -06:00
add comment to getImporters
This commit is contained in:
@@ -134,6 +134,12 @@ export const makeCypressPlugin = (
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all the modules that import the set of modules passed in parameters
|
||||
* @param modules the set of module whose dependents to return
|
||||
* @param alreadyExploredFiles set of files that have already been looked at and should be avoided in case of circular dependency
|
||||
* @returns a set of ModuleMode that import directly the current modules
|
||||
*/
|
||||
function getImporters (modules: Set<ModuleNode>, alreadyExploredFiles: Set<string>): Set<ModuleNode> {
|
||||
const allImporters = new Set<ModuleNode>()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user