Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
26
export
const
shallowWithIntl = node => {
27
return
shallow(nodeWithIntlProp(node), { context: { intl } });
28
};
29
30
export
const
mountWithIntl = node => {
31
return
mount(nodeWithIntlProp(node), {
Callers
2
PostCreateWidget.spec.js
File · 0.90
PostListItem.spec.js
File · 0.90
Calls
1
nodeWithIntlProp
Function · 0.85
Tested by
no test coverage detected