MCPcopy
hub / github.com/webpack/sass-loader / getTestId

Function getTestId

test/helpers/getTestId.js:6–8  ·  view source on GitHub ↗

* @param {string} testId test ID * @param {"sass" | "scss"} syntax a sass syntax * @returns {string} resolved test ID

(testId, syntax)

Source from the content-addressed store, hash-verified

4 * @returns {string} resolved test ID
5 */
6function getTestId(testId, syntax) {
7 return `${syntax}/${testId}.${syntax}`;
8}
9
10export default getTestId;

Calls

no outgoing calls

Tested by 1

createTestCaseFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…