@skrillex1224/playwright-toolkit 3.0.30 → 3.0.32

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/dist/index.cjs CHANGED
@@ -2754,8 +2754,7 @@ var methodDescriptor = (namespace, name, resolveTarget) => ({
2754
2754
  });
2755
2755
  var withModeReflect = (namespace, strategies = {}) => {
2756
2756
  const normalizedStrategies = normalizeStrategies2(strategies);
2757
- const baseStrategy = normalizedStrategies.default ?? Object.values(normalizedStrategies).find(Boolean);
2758
- const names = collectFunctionNames([baseStrategy]);
2757
+ const names = collectFunctionNames(Object.values(normalizedStrategies));
2759
2758
  const descriptors = {};
2760
2759
  for (const name of names) {
2761
2760
  descriptors[name] = methodDescriptor(namespace, name, () => resolveModeStrategy(normalizedStrategies));