You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

bs-react-testing-library

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bs-react-testing-library - npm Package Compare versions

Comparing version

to
0.2.0

6

changelog.md
## Change Log
### [v0.2.0](https://github.com/wyze/bs-react-testing-library/releases/tag/v0.2.0) (2018-07-29)
* [[`e515c3437d`](https://github.com/wyze/bs-react-testing-library/commit/e515c3437d)] - Upgrade dependencies and code to go with it (Neil Kistner)
* [[`7efd67d19e`](https://github.com/wyze/bs-react-testing-library/commit/7efd67d19e)] - Remove unused code in test (Neil Kistner)
* [[`6a4ac2804f`](https://github.com/wyze/bs-react-testing-library/commit/6a4ac2804f)] - Update readme with proper usage (Neil Kistner)
### [v0.1.0](https://github.com/wyze/bs-react-testing-library/releases/tag/v0.1.0) (2018-06-05)
* [[`7dd8119705`](https://github.com/wyze/bs-react-testing-library/commit/7dd8119705)] - Initial commit (Neil Kistner)

11

package.json
{
"name": "bs-react-testing-library",
"version": "0.1.0",
"version": "0.2.0",
"description": "BuckleScript bindings for react-testing-library.",

@@ -30,2 +30,3 @@ "repository": "wyze/bs-react-testing-library",

"bucklescript",
"react",
"testing"

@@ -35,3 +36,3 @@ ],

"bs-dom-testing-library": "^0.1.0",
"react-testing-library": "^3.1.3"
"react-testing-library": "^4.1.5"
},

@@ -43,6 +44,6 @@ "peerDependencies": {

"bs-jest": "^0.3.2",
"bs-platform": "^3.1.5",
"bs-platform": "^4.0.2",
"npm-run-all": "^4.1.3",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"reason-react": "^0.4.2",

@@ -49,0 +50,0 @@ "rimraf": "^2.6.2",

@@ -38,8 +38,13 @@ # bs-react-testing-library

describe("Component", () => {
open ExpectJs;
open Expect;
test("renders", () => {
let component = ReactShallowRenderer.renderWithRenderer(<Component />);
expect(Js.Undefined.return(component)) |> toBeDefined;
(
<div style=ReactDOMRe.Style.make(~color="rebeccapurple", ())>
<h1> {ReasonReact.string("Heading")} </h1>
</div>
)
|> render
|> expect
|> toMatchSnapshot;
});

@@ -77,5 +82,7 @@ });

### [v0.1.0](https://github.com/wyze/bs-react-testing-library/releases/tag/v0.1.0) (2018-06-05)
### [v0.2.0](https://github.com/wyze/bs-react-testing-library/releases/tag/v0.2.0) (2018-07-29)
* [[`7dd8119705`](https://github.com/wyze/bs-react-testing-library/commit/7dd8119705)] - Initial commit (Neil Kistner)
* [[`e515c3437d`](https://github.com/wyze/bs-react-testing-library/commit/e515c3437d)] - Upgrade dependencies and code to go with it (Neil Kistner)
* [[`7efd67d19e`](https://github.com/wyze/bs-react-testing-library/commit/7efd67d19e)] - Remove unused code in test (Neil Kistner)
* [[`6a4ac2804f`](https://github.com/wyze/bs-react-testing-library/commit/6a4ac2804f)] - Update readme with proper usage (Neil Kistner)

@@ -82,0 +89,0 @@ ## License

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet