mirror of https://github.com/webpack/webpack.git
				
				
				
			
		
			
				
	
	
		
			9 lines
		
	
	
		
			313 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			313 B
		
	
	
	
		
			JavaScript
		
	
	
	
| it("should include webpack://mynamespace/./test.js in SourceMap", function() {
 | |
| 	var fs = require("fs");
 | |
| 	var source = fs.readFileSync(__filename + ".map", "utf-8");
 | |
| 	var map = JSON.parse(source);
 | |
| 	expect(map.sources).toContain("webpack://mynamespace/./test.js");
 | |
| });
 | |
| 
 | |
| if (Math.random() < 0) require("./test.js");
 |