mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Add npm tests
This commit is contained in:
parent
d64b6388ae
commit
f7d5ae94c2
2 changed files with 20 additions and 0 deletions
15
tests/Common/NpmTest.php
Normal file
15
tests/Common/NpmTest.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace CommonTests;
|
||||
|
||||
class NpmTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testJsValidate()
|
||||
{
|
||||
$out = array();
|
||||
exec('gulp js:validate', $out);
|
||||
|
||||
$this->assertTrue(0 < \count($out));
|
||||
$this->assertTrue(false === \strpos(\implode('|', $out), 'problem'));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue