فهرست منبع

[web] Enable ProjectListRoot tests (#15330)

* [web] Enable ProjectListRoot tests
* [web] Set timeout of ProjectListRoot tests to 10s

GitOrigin-RevId: ca106d48738bfd3349990691d5c41c8de96880ed
Mathias Jakobsen 2 سال پیش
والد
کامیت
c67c43b4dd
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      services/web/test/frontend/features/project-list/components/project-list-root.test.tsx

+ 4 - 4
services/web/test/frontend/features/project-list/components/project-list-root.test.tsx

@@ -24,8 +24,9 @@ const {
 
 const userId = owner.id
 
-// eslint-disable-next-line mocha/no-skipped-tests
-describe.skip('<ProjectListRoot />', function () {
+describe('<ProjectListRoot />', function () {
+  this.timeout('10s')
+
   let sendMBSpy: sinon.SinonSpy
   let assignStub: sinon.SinonStub
 
@@ -189,8 +190,7 @@ describe.skip('<ProjectListRoot />', function () {
           )
         })
 
-        // eslint-disable-next-line mocha/no-skipped-tests
-        it.skip('only checks the projects that are viewable when there is a load more button', async function () {
+        it('only checks the projects that are viewable when there is a load more button', async function () {
           // first one is the select all checkbox
           fireEvent.click(allCheckboxes[0])