@skrillex1224/playwright-toolkit 3.0.31 → 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.js CHANGED
@@ -2726,8 +2726,7 @@ var methodDescriptor = (namespace, name, resolveTarget) => ({
2726
2726
  });
2727
2727
  var withModeReflect = (namespace, strategies = {}) => {
2728
2728
  const normalizedStrategies = normalizeStrategies2(strategies);
2729
- const baseStrategy = normalizedStrategies.default ?? Object.values(normalizedStrategies).find(Boolean);
2730
- const names = collectFunctionNames([baseStrategy]);
2729
+ const names = collectFunctionNames(Object.values(normalizedStrategies));
2731
2730
  const descriptors = {};
2732
2731
  for (const name of names) {
2733
2732
  descriptors[name] = methodDescriptor(namespace, name, () => resolveModeStrategy(normalizedStrategies));