mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:32:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			508 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			508 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| describe("createDocumentFragment", () => {
 | |
|     loadLocalPage("/res/html/misc/blank.html");
 | |
| 
 | |
|     afterInitialPageLoad(page => {
 | |
|         test("Basic functionality", () => {
 | |
|             const fragment = page.document.createDocumentFragment();
 | |
| 
 | |
|             // FIXME: Add this in once DocumentFragment's constructor is implemented.
 | |
|             //expect(fragment).toBeInstanceOf(DocumentFragment);
 | |
|             expect(fragment.nodeName).toBe("#document-fragment");
 | |
|         });
 | |
|     });
 | |
| 
 | |
|     waitForPageToLoad();
 | |
| });
 | 
