react-creates
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -7,2 +7,11 @@ ### Changelog | ||
#### [v1.0.8](https://github.com/tzachbon/react-creates/compare/v1.0.7...v1.0.8) | ||
> 17 August 2020 | ||
- Bump elliptic from 6.5.2 to 6.5.3 in /packages/react-creates/__tests__/mocks/create-react-app/typescript [`#5`](https://github.com/tzachbon/react-creates/pull/5) | ||
- feat(cli): `1.0.7` [`209cded`](https://github.com/tzachbon/react-creates/commit/209cded36deca9247142b4ca8a7fff498683ffda) | ||
- New react-scripts version: `1.0.8` [`7c702f8`](https://github.com/tzachbon/react-creates/commit/7c702f896353088a3717f3c790246e7be30c6068) | ||
- New react-scripts version: `1.0.8` [`dee004f`](https://github.com/tzachbon/react-creates/commit/dee004fa308099f13c0df59edcc5288e4b32381d) | ||
#### [v1.0.7](https://github.com/tzachbon/react-creates/compare/v1.0.6...v1.0.7) | ||
@@ -9,0 +18,0 @@ |
{ | ||
"name": "react-creates", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Create React Component folder works on macOS, Windows, and Linux.", | ||
@@ -5,0 +5,0 @@ "files": [ |
import React from 'react'; | ||
import renderer from 'react-test-renderer'; | ||
import { render } from '@testing-library/react'; | ||
import {{name}} from '.'; | ||
@@ -8,5 +8,6 @@ | ||
it("should match snapshot", () => { | ||
const tree = renderer(<{{name}} />); | ||
expect(tree).toMatchSnapshot(); | ||
const { getByText } = render(<{{name}} />); | ||
const linkElement = getByText(/{{name}} works!/i); | ||
expect(linkElement).toBeInTheDocument(); | ||
}); | ||
}); | ||
}); |
import React from 'react'; | ||
import renderer from 'react-test-renderer'; | ||
import { render } from '@testing-library/react'; | ||
import {{name}} from '.'; | ||
@@ -8,5 +8,6 @@ | ||
it("should match snapshot", () => { | ||
const tree = renderer(<{{name}} />); | ||
expect(tree).toMatchSnapshot(); | ||
const { getByText } = render(<{{name}} />); | ||
const linkElement = getByText(/{{name}} works!/i); | ||
expect(linkElement).toBeInTheDocument(); | ||
}); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47059