Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@rescriptbr/testing-library
Advanced tools
ReScript bindings for react-testing-library.
The documentions is WIP, see src/__tests__
for some examples.
$ yarn add --dev @rescriptbr/react-testing-library
# or..
$ npm install --save-dev @rescriptbr/react-testing-library
bsconfig.json
{
"bs-dev-dependencies": [
"@rescriptbr/react-testing-library"
]
}
bs-jest
open Jest
open Expect
open ReactTestingLibrary
test("Component renders", () =>
<div style=ReactDOM.Style.make(~color="rebeccapurple", ())>
<h1> {React.string("Heading")} </h1>
</div>
|> render
|> container
|> expect
|> toMatchSnapshot
)
See src/__tests__
for some examples.
$ git clone https://github.com/wyze/bs-react-testing-library.git
$ cd bs-react-testing-library
$ yarn # or `npm install`
$ yarn build
$ yarn test
MIT ©
FAQs
ReScript bindings for react-testing-library
We found that @rescriptbr/testing-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.