MCPcopy Create free account
hub / github.com/webpack/webpack-cli / levenshtein.test.js

File levenshtein.test.js

test/api/levenshtein.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// The CLI uses this through the private `WebpackCLI.#distance`; it is exported
2// from the module so these unit tests can exercise the algorithm directly.
3const { distance } = require("../../packages/webpack-cli/lib/webpack-cli");
4

Callers

nothing calls this directly

Calls 1

distanceFunction · 0.85

Tested by

no test coverage detected