From f6ddf36e130fb6d87cebad351057643441c3d173 Mon Sep 17 00:00:00 2001 From: dizzy Date: Tue, 5 Oct 2021 15:26:16 -0700 Subject: [Vue] migrate periods service to typescript & introduce frontend unit testing for vue & migrate periods.spec.js (#18092) * initial periods service conversion * get period service migration to compile * getLastNRange was public static * fix an issue, switch angularjs tests to use chrome headless and hope it works * remove phantomjs requirement * get vue unit testing to work w/ jest (only option right now, the mocha plugin is not compatible w/ vue 3 and no one is working on making it compatible) * more test code * progress * more progress * more progress, single passing test * finish converting periods.spec.js and get test to pass * remove use of any in periods service and rebuilt corehome * add missing file headers * fix run-once.sh * debug travis build * remove debugging code & update submodule * update submodule * more travis debugging * install npm dependencies in "install-ubuntu.sh" * use latest node * try this again * typos * more debugging * more debugging * testing something * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * revert travis.yml changes * update some expected screenshots * releasechecklisttest fix --- tests/PHPUnit/Integration/ReleaseCheckListTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/PHPUnit/Integration') diff --git a/tests/PHPUnit/Integration/ReleaseCheckListTest.php b/tests/PHPUnit/Integration/ReleaseCheckListTest.php index a54c8be820..7b74515589 100644 --- a/tests/PHPUnit/Integration/ReleaseCheckListTest.php +++ b/tests/PHPUnit/Integration/ReleaseCheckListTest.php @@ -909,6 +909,8 @@ class ReleaseCheckListTest extends \PHPUnit\Framework\TestCase 'vendor/szymach/c-pchart/src/Resources/fonts/Silkscreen*', 'vendor/szymach/c-pchart/src/Resources/fonts/verdana*', + 'package-lock.json', + # not needed js files 'node_modules/angular/angular.min.js.gzip', 'node_modules/angular/angular.js', @@ -1039,7 +1041,6 @@ class ReleaseCheckListTest extends \PHPUnit\Framework\TestCase '.lfsconfig', 'HIRING.md', '.github/', - ]; return $this->isFilePathFoundInArray($file, $filesAndFoldersToDeleteFromPackage); -- cgit v1.2.3