Check test's dump

This commit is contained in:
RainLoop Team 2016-07-01 01:58:09 +03:00
parent 8a6765faeb
commit 5c2ea2ccda

View file

@ -7,7 +7,9 @@ class NpmTest extends \PHPUnit_Framework_TestCase
public function testJsValidate() public function testJsValidate()
{ {
$out = array(); $out = array();
exec('gulp js:validate', $out); exec('gulp js:eslint', $out);
var_dump($out);
$this->assertTrue(0 < \count($out)); $this->assertTrue(0 < \count($out));
$this->assertTrue(false === \strpos(\implode('|', $out), 'problem')); $this->assertTrue(false === \strpos(\implode('|', $out), 'problem'));