MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / test

Function test

src/settings/previewSettings.js:21–23  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

19 promptType: "number",
20 promptOptions: {
21 test(value) {
22 return PORT_REGEX.test(value);
23 },
24 },
25 info: strings["settings-info-preview-preview-port"],
26 category: categories.server,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected