Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepNotesApp/DeepNotes
/ createInlineMock
Function
createInlineMock
packages/@stdlib/testing/src/inline-mock.ts:3–9 ·
view source on GitHub ↗
(fn: (mock: any) => any)
Source
from the content-addressed store, hash-verified
1
import
{ createSmartMock } from
'./smart-mock'
;
2
3
export
function
createInlineMock(fn: (mock: any) => any) {
4
const
smartMock = createSmartMock();
5
6
fn(smartMock);
7
8
return
smartMock;
9
}
Callers
1
inline-mock.spec.ts
File · 0.90
Calls
1
createSmartMock
Function · 0.90
Tested by
no test coverage detected