This helper can be useful in other packages to load files from the real disk into a mock file system. PR Close #36843
		
			
				
	
	
		
			19 lines
		
	
	
		
			455 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			455 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| load("//tools:defaults.bzl", "ts_library")
 | |
| 
 | |
| package(default_visibility = ["//visibility:public"])
 | |
| 
 | |
| ts_library(
 | |
|     name = "helpers",
 | |
|     testonly = True,
 | |
|     srcs = glob([
 | |
|         "**/*.ts",
 | |
|     ]),
 | |
|     module_name = "@angular/compiler-cli/test/helpers",
 | |
|     deps = [
 | |
|         "//packages:types",
 | |
|         "//packages/compiler-cli/src/ngtsc/file_system",
 | |
|         "//packages/compiler-cli/src/ngtsc/file_system/testing",
 | |
|         "@npm//typescript",
 | |
|     ],
 | |
| )
 |