rescript-dom-testing-library
Version:
ReScript bindings for @testing-library/dom
41 lines (32 loc) • 1.37 kB
JavaScript
// Generated by ReScript, PLEASE EDIT WITH CARE
;
var Js_undefined = require("rescript/lib/js/js_undefined.js");
var Dom = require("@testing-library/dom");
function makeByDisplayValueOptions(exact, normalizer, param) {
return {
exact: Js_undefined.fromOption(exact),
normalizer: Js_undefined.fromOption(normalizer)
};
}
function getByDisplayValue(options, matcher, element) {
return Dom.getByDisplayValue(element, matcher.VAL, options);
}
function findByDisplayValue(options, matcher, element) {
return Dom.findByDisplayValue(element, matcher.VAL, options);
}
function getAllByDisplayValue(options, matcher, element) {
return Dom.getAllByDisplayValue(element, matcher.VAL, options);
}
function queryAllByDisplayValue(options, matcher, element) {
return Dom.queryAllByDisplayValue(element, matcher.VAL, options);
}
function findAllByDisplayValue(options, matcher, element) {
return Dom.findAllByDisplayValue(element, matcher.VAL, options);
}
exports.makeByDisplayValueOptions = makeByDisplayValueOptions;
exports.getByDisplayValue = getByDisplayValue;
exports.findByDisplayValue = findByDisplayValue;
exports.getAllByDisplayValue = getAllByDisplayValue;
exports.queryAllByDisplayValue = queryAllByDisplayValue;
exports.findAllByDisplayValue = findAllByDisplayValue;
/* @testing-library/dom Not a pure module */