Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit 78e2b63

Browse files
committed
fix: add link to example, remove stray console.log
1 parent 7b7460d commit 78e2b63

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ Repo | Description
146146
[test-d3-react-gauge](https://github.com/bahmutov/test-d3-react-gauge) | Testing React D3 gauges
147147
[storybook-code-coverage](https://github.com/bahmutov/storybook-code-coverage) | Example app where we get 100% code coverage easily with a single integration spec and a few component specs, replacing [several tools](https://dev.to/penx/combining-storybook-cypress-and-jest-code-coverage-4pa5)
148148
[react-loading-skeleton](https://github.com/bahmutov/react-loading-skeleton) | One to one Storybook tests for React skeleton components. Uses local `.babelrc` settings without Webpack config
149+
[test-swr](https://github.com/bahmutov/test-swr) | Component test for [Zeit SWR](https://github.com/zeit/swr) hooks for remote data fetching
149150
<!-- prettier-ignore-end -->
150151

151152
To find more examples, see GitHub topic [cypress-react-unit-test-example](https://github.com/topics/cypress-react-unit-test-example)

lib/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ export const mount = (jsx: React.ReactElement, options: MountOptions = {}) => {
8383
logInstance.set('consoleProps', () => logConsoleProps)
8484

8585
if (el.children.length) {
86-
console.log('element', el.children.item(0))
8786
logInstance.set('$el', el.children.item(0))
8887
}
8988
}

0 commit comments

Comments
 (0)