| 
									
										
										
										
											2019-09-04 19:34:34 +08:00
										 |  |  | const path = require("path"); | 
					
						
							| 
									
										
										
										
											2022-02-14 16:36:32 +08:00
										 |  |  | const { describeCases } = require("./TestCases.template"); | 
					
						
							| 
									
										
										
										
											2018-10-25 17:18:45 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | describe("TestCases", () => { | 
					
						
							|  |  |  | 	describeCases({ | 
					
						
							|  |  |  | 		name: "cache pack", | 
					
						
							|  |  |  | 		cache: { | 
					
						
							| 
									
										
										
										
											2021-06-23 03:29:08 +08:00
										 |  |  | 			type: "filesystem", | 
					
						
							|  |  |  | 			buildDependencies: { | 
					
						
							|  |  |  | 				defaultWebpack: [] | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2020-08-26 06:36:16 +08:00
										 |  |  | 		}, | 
					
						
							|  |  |  | 		snapshot: { | 
					
						
							| 
									
										
										
										
											2019-09-04 19:34:34 +08:00
										 |  |  | 			managedPaths: [path.resolve(__dirname, "../node_modules")] | 
					
						
							| 
									
										
										
										
											2019-09-04 15:08:44 +08:00
										 |  |  | 		}, | 
					
						
							|  |  |  | 		optimization: { | 
					
						
							|  |  |  | 			innerGraph: true, | 
					
						
							| 
									
										
										
										
											2019-12-16 21:51:34 +08:00
										 |  |  | 			usedExports: true, | 
					
						
							|  |  |  | 			concatenateModules: true | 
					
						
							| 
									
										
										
										
											2018-10-25 17:18:45 +08:00
										 |  |  | 		} | 
					
						
							|  |  |  | 	}); | 
					
						
							|  |  |  | }); |