chore: add tests for moduleGraph2 (#23603)

Also did some renames from underscores to hyphens
This commit is contained in:
David Sherret 2024-04-29 14:09:58 -04:00 committed by GitHub
parent 67d00fb1e3
commit 48daf2dc88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 127 additions and 66 deletions

1
cli/cache/mod.rs vendored
View file

@ -296,6 +296,7 @@ impl Loader for FetchCacher {
source: &Arc<[u8]>,
module_info: &deno_graph::ModuleInfo,
) {
log::debug!("Caching module info for {}", specifier);
let source_hash = ModuleInfoCacheSourceHash::from_source(source);
let result = self.module_info_cache.set_module_info(
specifier,