ftmocks-utils 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -422,7 +422,7 @@ async function initiatePlaywrightRoutes(
|
|
|
422
422
|
? loadMockDataFromConfig(ftmocksConifg, testName)
|
|
423
423
|
: [];
|
|
424
424
|
resetAllMockStats({ testMockData, testConfig: ftmocksConifg, testName });
|
|
425
|
-
const test = await getTestByName(ftmocksConifg,
|
|
425
|
+
const test = await getTestByName(ftmocksConifg, testName);
|
|
426
426
|
const defaultMockData = getDefaultMockDataFromConfig(ftmocksConifg);
|
|
427
427
|
console.debug("calling initiatePlaywrightRoutes fetch");
|
|
428
428
|
await page.route(mockPath, async (route, request) => {
|