wix-style-react
Version:
wix-style-react
22 lines • 759 B
JavaScript
import FloatingHelper from '.';
import React from 'react';
// This object should contain a mock value for each required prop of this component
export const requiredProps = {
// @ts-ignore
content: React.createElement(FloatingHelper.Content, { title: "title", body: "body" }),
target: React.createElement("div", null, "target"),
placement: 'left',
};
// This array should contain an object only for tests you wish to run on all compliance tests
const sharedTests = [
{
title: 'render',
props: {
...requiredProps,
},
},
];
export const testkitTests = [...sharedTests];
export const ssrTests = [...sharedTests];
export const a11yTests = [...sharedTests];
//# sourceMappingURL=FloatingHelper.meta.js.map