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

File init.test.js

test/create-webpack-app/init/init.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const { existsSync, mkdirSync, readFileSync } = require("node:fs");
2const path = require("node:path");
3const { join, resolve } = require("node:path");
4const { createPathDependentUtils, isWindows, uniqueDirectoryForTest } = require("../test.utils");

Callers

nothing calls this directly

Calls 7

createPathDependentUtilsFunction · 0.85
uniqueDirectoryForTestFunction · 0.85
resolveFunction · 0.85
readFromPkgJSONFunction · 0.85
readFromWebpackConfigFunction · 0.85
runFunction · 0.50
runPromptWithAnswersFunction · 0.50

Tested by

no test coverage detected