GuillaumeCisco / redux-sagas-injector

Helper for loading sagas asynchronously using redux
MIT License
69 stars 7 forks source link

fix: prevent jest error #4

Closed ethanneff closed 5 years ago

ethanneff commented 6 years ago
 FAIL  src/tests/index.test.js
  ● Test suite failed to run

    Couldn't find preset "es2015" relative to directory "/Users/eneff/drive/active/react/rnb/node_modules/redux-sagas-injector"

      at node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19
          at Array.map (<anonymous>)
      at OptionManager.resolvePresets (node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
      at OptionManager.mergePresets (node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)
      at OptionManager.mergeOptions (node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)
      at OptionManager.init (node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
      at File.initOptions (node_modules/babel-core/lib/transformation/file/index.js:212:65)
      at new File (node_modules/babel-core/lib/transformation/file/index.js:135:24)
      at Pipeline.transform (node_modules/babel-core/lib/transformation/pipeline.js:46:16)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        2.392s, estimated 9s
Ran all test suites.