![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
bs-dom-testing-library
Advanced tools
BuckleScript bindings for dom-testing-library.
$ yarn add --dev bs-dom-testing-library
# or..
$ npm install --save-dev bs-dom-testing-library
bsconfig.json
{
"bs-dev-dependencies": [
"bs-dom-testing-library"
]
}
bs-jest
/* A_test.re */
open Jest;
[@bs.new]
external domParser : unit => parser = "DOMParser";
[@bs.send.pipe : parser]
external parseFromString : ( string, [@bs.as "text/html"] _) => Dom.element = "";
[@bs.get]
external body : Dom.element => Dom.element = "";
[@bs.get]
external firstChild : Dom.element => Dom.element = "";
describe("prettyDOM", () => {
open Expect;
let div = domParser()
|> parseFromString("<div><b>Hello,</b><p> World!</p></div>")
|> body
|> firstChild;
describe("prettyDOM", () => {
test("works", () => {
let actual = div |> DomTestingLibrary.prettyDOM;
expect(actual) |> toMatchSnapshot;
});
test("works with maxLength", () => {
let actual = div |> DomTestingLibrary.prettyDOM(~maxLength=25);
expect(actual) |> toMatchSnapshot;
});
});
});
See src/__tests__
for some examples.
$ git clone https://github.com/wyze/bs-dom-testing-library.git
$ cd bs-dom-testing-library
$ yarn # or `npm install`
$ yarn build
$ yarn test
3b04a9bf42
] - Initial commit (Neil Kistner)MIT © Neil Kistner
FAQs
BuckleScript bindings for dom-testing-library.
The npm package bs-dom-testing-library receives a total of 293 weekly downloads. As such, bs-dom-testing-library popularity was classified as not popular.
We found that bs-dom-testing-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.