Skip to content

Commit

Permalink
add failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiller1990 committed Aug 26, 2021
1 parent 09aec14 commit ac4f0bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 91 deletions.
87 changes: 0 additions & 87 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
Expand All @@ -25,8 +23,7 @@
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
"react-app"
]
},
"browserslist": {
Expand Down
3 changes: 3 additions & 0 deletions src/NewJsxTransform.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ it('works with a fragment', () => {
</div>
)
cy.get('div').contains('It is a fragment without importing React')

// should fail
expect(1).to.eq(2)
})

0 comments on commit ac4f0bc

Please sign in to comment.