Update bin.test.js
This commit is contained in:
		
							parent
							
								
									afc907b873
								
							
						
					
					
						commit
						7e0d7437cb
					
				| 
						 | 
					@ -9,7 +9,7 @@ function stdoutResultTester(stdout) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
it('can load config', () => {
 | 
					it('can load config', () => {
 | 
				
			||||||
  const result = execSync(
 | 
					  const result = execSync(
 | 
				
			||||||
    `node ${pwd}/bin/epg-grabber.js --config=tests/input/example.com.config.js`,
 | 
					    `node ${pwd}/bin/epg-grabber.js --config=tests/input/example.com.config.js --delay=0`,
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      encoding: 'utf8'
 | 
					      encoding: 'utf8'
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					@ -26,7 +26,7 @@ it('can load mini config', () => {
 | 
				
			||||||
      --output=tests/output/mini.guide.xml \
 | 
					      --output=tests/output/mini.guide.xml \
 | 
				
			||||||
      --lang=fr \
 | 
					      --lang=fr \
 | 
				
			||||||
      --days=3 \
 | 
					      --days=3 \
 | 
				
			||||||
      --delay=5000`,
 | 
					      --delay=0`,
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      encoding: 'utf8'
 | 
					      encoding: 'utf8'
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue