mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-26 03:42:38 +00:00 
			
		
		
		
	 f568939568
			
		
	
	
		f568939568
		
	
	
	
	
		
			
			The hard part of parsing them in import statements and calls was already done so this is just removing some check which threw before on assertions. And filtering the assertions based on the result of a new host hook.
		
			
				
	
	
		
			4 lines
		
	
	
	
		
			341 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
	
		
			341 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import * as self from "./import-with-assertions.mjs" assert { "key": "value", key2: "value2", default: "shouldwork" };
 | |
| import "./import-with-assertions.mjs" assert { "key": "value", key2: "value2", default: "shouldwork" };
 | |
| 
 | |
| export { passed } from "./module-with-default.mjs" assert { "key": "value", key2: "value2", default: "shouldwork" };
 |