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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ftmocks-utils",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Util functions for FtMocks",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
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, config.testName);
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) => {