Skip to content

Test suite failed to run #28

@artemnovichkov

Description

@artemnovichkov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions