Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RachelDau committed Apr 30, 2024
1 parent 2add759 commit d758ecf
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const PageError = require('./page-error')

describe('PageError', () => {
ReactModal.setAppElement = jest.fn()

test('renders when given props', () => {
const mockCurrentUser = {
id: 99,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const PageHomepage = require('./page-homepage')

describe('PageHomepage', () => {
ReactModal.setAppElement = jest.fn()

test('renders when given props', () => {
const mockCurrentUser = {
id: 99,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const PageLogin = require('./page-login')

describe('PageLogin', () => {
ReactModal.setAppElement = jest.fn()

test('renders when given props', () => {
const mockCurrentUser = {
id: 99,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 =>
Expand All @@ -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 =>
Expand Down

0 comments on commit d758ecf

Please sign in to comment.