MCPcopy Index your code
hub / github.com/11ty/dev-server / getOptions

Function getOptions

test/testServerRequests.js:6–13  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

4const EleventyDevServer = require("../");
5
6function getOptions(options = {}) {
7 options.logger = {
8 info: function() {},
9 error: function() {},
10 };
11 options.portReassignmentRetryCount = 100;
12 return options;
13}
14
15async function makeRequestTo(t, server, path) {
16 let port = await server.getPort();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…