Add initial ready-to-show spec
This commit is contained in:
		
					parent
					
						
							
								b8f09ecf4f
							
						
					
				
			
			
				commit
				
					
						038718717c
					
				
			
		
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -118,6 +118,13 @@ describe('browser-window module', function () {
 | 
			
		|||
      w.loadURL('about:blank')
 | 
			
		||||
    })
 | 
			
		||||
 | 
			
		||||
    it('should emit ready-to-show event', function (done) {
 | 
			
		||||
      w.on('ready-to-show', function () {
 | 
			
		||||
        done()
 | 
			
		||||
      })
 | 
			
		||||
      w.loadURL('about:blank')
 | 
			
		||||
    })
 | 
			
		||||
 | 
			
		||||
    it('should emit did-get-response-details event', function (done) {
 | 
			
		||||
      // expected {fileName: resourceType} pairs
 | 
			
		||||
      var expectedResources = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue