MCPcopy Index your code
hub / github.com/bugy/script-server / createStore

Function createStore

web-src/tests/unit/scriptConfig_test.js:12–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10const DEFAULT_SCRIPT_NAME = 'testScript'
11
12function createStore() {
13 return new Vuex.Store({
14 modules: {
15 scriptConfig: scriptConfig(),
16 scripts: {
17 namespaced: true,
18 state: {
19 selectedScript: DEFAULT_SCRIPT_NAME
20 }
21 }
22 }
23 });
24}
25
26const DEFAULT_PARAM2_VALUES = ['abc', 'def', 'xyz'];
27

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected