@zohodesk/testinglibrary 0.1.8-stb-bdd-v17 → 0.1.8-stb-bdd-v18

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.
@@ -23,17 +23,16 @@ const {
23
23
  // In house BDD testing. so, use playwright test
24
24
  let base = _test.test;
25
25
  const buildInFixtures = (0, _builtInFixtures.default)(bddMode);
26
+ var $customFixtures = {};
26
27
  if (!bddMode) {
27
- userFixtures = {
28
- ...userFixtures,
29
- ...{
30
- $tags: ({}, use) => use([])
31
- }
28
+ $customFixtures = {
29
+ $tags: ({}, use) => use([])
32
30
  };
33
31
  }
34
32
  const test = exports.test = base.extend({
35
33
  ...buildInFixtures,
36
- ...userFixtures
34
+ ...userFixtures,
35
+ ...$customFixtures
37
36
  });
38
37
 
39
38
  // const { Given, When, Then } = createBdd();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "0.1.8-stb-bdd-v17",
3
+ "version": "0.1.8-stb-bdd-v18",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {