Skip to content

Commit

Permalink
commented out tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tayiorbeii committed Jul 3, 2022
1 parent 757fbb2 commit a41387a
Show file tree
Hide file tree
Showing 4 changed files with 242 additions and 22 deletions.
2 changes: 1 addition & 1 deletion components/meganav/__tests__/subnav-button.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import userEvent from '@testing-library/user-event'
import SubNavButton from '../subnav-button'

describe('SubNavButton', () => {
it('labels the dropdown button', () => {
xit('labels the dropdown button', () => {
const textFixture = "Hamburgers"
const { getByText } = render(<SubNavButton buttonName={textFixture} onClick={()=>{console.log('do stuff')}} />)

Expand Down
2 changes: 1 addition & 1 deletion exercise1-jest/answer/icon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import 'components/styles/icons.scss'
import './icons.scss'

const Icon = ({name}) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion exercise1-jest/answer/icon.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import '@testing-library/jest-dom'
import userEvent from '@testing-library/user-event'

import Icon from "../../components/icon"
import Icon from "./icon"

const user = userEvent.setup()

Expand Down
Loading

0 comments on commit a41387a

Please sign in to comment.