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

Function testNormalizeFilePath

test/testServer.js:5–7  ·  view source on GitHub ↗
(filepath)

Source from the content-addressed store, hash-verified

3const EleventyDevServer = require("../");
4
5function testNormalizeFilePath(filepath) {
6 return filepath.split("/").join(path.sep);
7}
8
9test("Url mappings for resource/index.html", async (t) => {
10 let server = new EleventyDevServer("test-server", "./test/stubs/");

Callers 1

testServer.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…