MCPcopy
hub / github.com/Hashnode/mern-starter / mountWithIntl

Function mountWithIntl

client/util/react-intl-test-helper.js:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28};
29
30export const mountWithIntl = node => {
31 return mount(nodeWithIntlProp(node), {
32 context: { intl },
33 childContextTypes: { intl: intlShape },
34 });
35};

Callers 2

Calls 1

nodeWithIntlPropFunction · 0.85

Tested by

no test coverage detected