@stripe/ui-extension-sdk
Version:
The suite of functionality available to UI extensions in Stripe apps
18 lines • 740 B
JavaScript
;
/**
* Forking the remote-ui Jest matchers so that:
* a. We can rename the matching methods to remove "remote"
* b. We can remove all mention of "@shopify/react-testing" in error messages
* c. We retain control over the matchers in case we later decide to migrate away from remote-ui
*/
Object.defineProperty(exports, "__esModule", { value: true });
const props_1 = require("./props");
const components_1 = require("./components");
const text_1 = require("./text");
expect.extend({
toHaveProps: props_1.toHaveProps,
toContainComponent: components_1.toContainComponent,
toContainComponentTimes: components_1.toContainComponentTimes,
toContainText: text_1.toContainText,
});
//# sourceMappingURL=index.js.map