How to use the wix-ui-test-utils/enzyme.isEnzymeTestkitExists function in wix-ui-test-utils

To help you get started, we’ve selected a few wix-ui-test-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wix / wix-ui-backoffice / src / components / Label / Label.spec.tsx View on Github external
it('should exist', () => {
      expect(isEnzymeTestkitExists(<label>Hello World</label>, enzymeLabelTestkitFactory, mount)).toBe(true);
    });
  });
github wix / wix-ui-tpa / src / components / IconToggle / IconToggle.spec.tsx View on Github external
it('should exist', () =&gt; {
      expect(
        isEnzymeTestkitExists(
          } /&gt;,
          enzymeAutocompleteTestkitFactory,
          mount,
        ),
      ).toBe(true);
    });
  });
github wix / wix-ui-tpa / src / components / Input / Input.spec.tsx View on Github external
it('should exist', () =&gt; {
      expect(
        isEnzymeTestkitExists(<input>, enzymeInputTestkitFactory, mount, {
          dataHookPropName: 'data-hook',
        }),
      ).toBe(true);
    });
  });
github wix / wix-ui-tpa / src / components / LikeButton / LikeButton.spec.tsx View on Github external
it('should exist', () =&gt; {
      expect(
        isEnzymeTestkitExists(
          ,
          enzymeAutocompleteTestkitFactory,
          mount,
        ),
      ).toBe(true);
    });
  });
github wix / wix-ui-backoffice / src / components / CounterBadge / CounterBadge.spec.skip.tsx View on Github external
it('should exist', () =&gt; {
      expect(isEnzymeTestkitExists(12, enzymeCounterBadgeTestkitFactory, mount)).toBe(true);
    });
  });