Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bugy/script-server
/ mockGetScripts
Function
mockGetScripts
web-src/tests/unit/admin/script-module_test.js:15–18 ·
view source on GitHub ↗
(scripts)
Source
from the content-addressed store, hash-verified
13
14
15
function
mockGetScripts(scripts) {
16
axiosMock.onGet(
'scripts'
)
17
.reply(200, {scripts});
18
}
19
20
describe(
'Test admin script module'
,
function
() {
21
let
store;
Callers
1
script-module_test.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected