Update config.test.js
This commit is contained in:
		
							parent
							
								
									1597965fa4
								
							
						
					
					
						commit
						31d1db52e0
					
				| 
						 | 
					@ -3,7 +3,7 @@ import path from 'path'
 | 
				
			||||||
import fs from 'fs'
 | 
					import fs from 'fs'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
it('can load config', () => {
 | 
					it('can load config', () => {
 | 
				
			||||||
  const config = loadConfig(require(path.resolve('./tests/input/example.config.js')))
 | 
					  const config = loadConfig(require(path.resolve('./tests/__data__/input/example.config.js')))
 | 
				
			||||||
  expect(config).toMatchObject({
 | 
					  expect(config).toMatchObject({
 | 
				
			||||||
    days: 1,
 | 
					    days: 1,
 | 
				
			||||||
    delay: 3000,
 | 
					    delay: 3000,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue