mirror of https://github.com/webpack/webpack.git
				
				
				
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			579 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			579 B
		
	
	
	
		
			JavaScript
		
	
	
	
/* globals describe, it, beforeEach */
 | 
						|
"use strict";
 | 
						|
 | 
						|
const should = require("should");
 | 
						|
const HarmonyExportImportedSpecifierDependency = require("../lib/dependencies/HarmonyExportImportedSpecifierDependency");
 | 
						|
 | 
						|
describe("HarmonyExportImportedSpecifierDependency", () => {
 | 
						|
	describe("getHashValue", () => {
 | 
						|
		it("should return empty string on missing module", () => {
 | 
						|
			// see e.g. PR #4368
 | 
						|
			var instance = new HarmonyExportImportedSpecifierDependency();
 | 
						|
			should(instance.getHashValue(undefined)).be.eql("");
 | 
						|
			should(instance.getHashValue(null)).be.eql("");
 | 
						|
		});
 | 
						|
	});
 | 
						|
});
 |