From d758ecfb56dc40120a0d1b0aedb0d198c234c0b6 Mon Sep 17 00:00:00 2001 From: Rachel Dauns Date: Tue, 30 Apr 2024 12:24:49 -0400 Subject: [PATCH] remove comments --- .../shared/components/pages/page-error.test.js | 1 - .../shared/components/pages/page-homepage.test.js | 1 - .../shared/components/pages/page-login.test.js | 1 - .../obojobo-repository/shared/components/repository-nav.test.js | 2 -- 4 files changed, 5 deletions(-) diff --git a/packages/app/obojobo-repository/shared/components/pages/page-error.test.js b/packages/app/obojobo-repository/shared/components/pages/page-error.test.js index a1d06fd1b..83b17b414 100644 --- a/packages/app/obojobo-repository/shared/components/pages/page-error.test.js +++ b/packages/app/obojobo-repository/shared/components/pages/page-error.test.js @@ -12,7 +12,6 @@ const PageError = require('./page-error') describe('PageError', () => { ReactModal.setAppElement = jest.fn() - test('renders when given props', () => { const mockCurrentUser = { id: 99, diff --git a/packages/app/obojobo-repository/shared/components/pages/page-homepage.test.js b/packages/app/obojobo-repository/shared/components/pages/page-homepage.test.js index 542f0a853..fe695b106 100644 --- a/packages/app/obojobo-repository/shared/components/pages/page-homepage.test.js +++ b/packages/app/obojobo-repository/shared/components/pages/page-homepage.test.js @@ -12,7 +12,6 @@ const PageHomepage = require('./page-homepage') describe('PageHomepage', () => { ReactModal.setAppElement = jest.fn() - test('renders when given props', () => { const mockCurrentUser = { id: 99, diff --git a/packages/app/obojobo-repository/shared/components/pages/page-login.test.js b/packages/app/obojobo-repository/shared/components/pages/page-login.test.js index 75e2f5c8c..2c6578c94 100644 --- a/packages/app/obojobo-repository/shared/components/pages/page-login.test.js +++ b/packages/app/obojobo-repository/shared/components/pages/page-login.test.js @@ -12,7 +12,6 @@ const PageLogin = require('./page-login') describe('PageLogin', () => { ReactModal.setAppElement = jest.fn() - test('renders when given props', () => { const mockCurrentUser = { id: 99, diff --git a/packages/app/obojobo-repository/shared/components/repository-nav.test.js b/packages/app/obojobo-repository/shared/components/repository-nav.test.js index f0813f223..8b9367179 100644 --- a/packages/app/obojobo-repository/shared/components/repository-nav.test.js +++ b/packages/app/obojobo-repository/shared/components/repository-nav.test.js @@ -48,7 +48,6 @@ describe('RepositoryNav', () => { ).toBe(1) } const expectNotificationsPopupToBeOpen = component => { - //expect(component.root.findAllByProps({ className: 'popup' }).length).toBe(1) const modalInstances = component.root.findAllByType(ReactModal) const modalInstance = modalInstances.find(instance => @@ -57,7 +56,6 @@ describe('RepositoryNav', () => { expect(modalInstance.props.isOpen).toBe(true) } const expectNotificationsPopupToBeClosed = component => { - //expect(component.root.findAllByProps({ className: 'popup' }).length).toBe(0) const modalInstances = component.root.findAllByType(ReactModal) const modalInstance = modalInstances.find(instance =>