Update utils.test.js
This commit is contained in:
		
							parent
							
								
									94581bb94b
								
							
						
					
					
						commit
						0a50b07fa3
					
				| 
						 | 
				
			
			@ -4,11 +4,9 @@ import utils from '../src/utils'
 | 
			
		|||
it('can load valid config.js', () => {
 | 
			
		||||
  const config = utils.loadConfig({ config: './tests/input/example.com.config.js' })
 | 
			
		||||
  expect(config).toMatchObject({
 | 
			
		||||
    channels: 'tests/input/example.com.channels.xml',
 | 
			
		||||
    days: 1,
 | 
			
		||||
    delay: 3000,
 | 
			
		||||
    lang: 'en',
 | 
			
		||||
    output: 'tests/output/guide.xml',
 | 
			
		||||
    site: 'example.com'
 | 
			
		||||
  })
 | 
			
		||||
  expect(config.request).toMatchObject({
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue