* Get test specifications associated with the given module. If module is not a test file, an empty array is returned. * * **Note:** this method relies on a cache generated by `globTestSpecifications`. If the file was not processed yet, use `project.matchesGlobPattern` instead. * @param modu
(moduleId: string)
| 870 | * @param moduleId The module ID to get test specifications for. |
| 871 | */ |
| 872 | public getModuleSpecifications(moduleId: string): TestSpecification[] { |
| 873 | return this.specifications.getModuleSpecifications(moduleId) |
| 874 | } |
| 875 | |
| 876 | /** |
| 877 | * Vitest automatically caches test specifications for each file. This method clears the cache for the given file or the whole cache altogether. |
no outgoing calls
no test coverage detected