mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 23:08:08 +08:00
22 lines
No EOL
363 B
PHP
22 lines
No EOL
363 B
PHP
<?php
|
|
|
|
namespace CommonTests;
|
|
|
|
class NpmTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
public function testJsValidate()
|
|
{
|
|
$out = array();
|
|
exec('gulp js:validate', $out);
|
|
|
|
$this->assertTrue(0 < \count($out));
|
|
|
|
$noProblem = false === \strpos(\implode('|', $out), 'problem');
|
|
if (!$noProblem)
|
|
{
|
|
var_dump($out);
|
|
}
|
|
|
|
$this->assertTrue($noProblem);
|
|
}
|
|
} |