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

Function shallowWithIntl

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

Source from the content-addressed store, hash-verified

24};
25
26export const shallowWithIntl = node => {
27 return shallow(nodeWithIntlProp(node), { context: { intl } });
28};
29
30export const mountWithIntl = node => {
31 return mount(nodeWithIntlProp(node), {

Callers 2

Calls 1

nodeWithIntlPropFunction · 0.85

Tested by

no test coverage detected