Skip to content

fix: Do not import gitlab-ui from itself

Enrique Alcántara requested to merge fix-do-not-import-itself into master

Why

Because when mocking a subset of gitlab-ui components using jest manual mocks using the following declaration:

export * from '@gitlab/ui';

gitlab-ui tries to use gitlab-ui’s mock of the consumer project, and a circular dependency error happens.

Merge request reports