commercetools / commercetools/test-data

Commons Exports not Properly Exported

Open
#115 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
16
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**Describe the issue**

Exports of `@commercetools-test-data/commons` are not properly exported.

**To Reproduce**
Steps to reproduce the behavior:

1. Import e.g `Reference`, `import { Reference } from '@commercetools-test-data/commons';`
2. Access e.g its builder

**Expected behavior**

It should be possible to access the builder on `Reference.random`.

**Current behavior**

The builder is accessible on `Reference.default.random`.

**Screenshots**

CleanShot_2021-05-27_at_18 53 522x

**Additional context**

The problem is related to all exports except `LocalizedString`, and maybe others. It's also reproducible with `Initiator`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.