MCPcopy 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
15function mockGetScripts(scripts) {
16 axiosMock.onGet('scripts')
17 .reply(200, {scripts});
18}
19
20describe('Test admin script module', function () {
21 let store;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected