Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite failed to run #28

Open
artemnovichkov opened this issue May 8, 2020 · 0 comments
Open

Test suite failed to run #28

artemnovichkov opened this issue May 8, 2020 · 0 comments

Comments

@artemnovichkov
Copy link

I've added new zem ^1.0.4 and run zem test, here is an output:

 FAIL  src/index.test.js
  ● Test suite failed to run

    TypeError: Cannot read property 'reduce' of undefined

       7 | import { zeplin } from "../../package.json";
       8 | 
    >  9 | const defaultOptions = zeplin.options.reduce((options, option) => {
         |                                       ^
      10 |     options[option.id] = option.default;
      11 |     return options;
      12 | }, {});

      at Object.<anonymous> (src/fixtures/index.js:9:39)
      at Object.<anonymous> (src/index.test.js:2:1)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        2.479s
Ran all test suites.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant