fusionjs / fusion-cli

Migrated to https://github.com/fusionjs/fusionjs
MIT License
140 stars 37 forks source link

Enable jest caching for test command #203

Open KevinGrandon opened 6 years ago

KevinGrandon commented 6 years ago

When we enable caching we get an error like Error: Test process exited with signal SIGSEGV.

Figure out why we're getting this, and fix the cause so we can enable caching.

Lines: https://github.com/fusionjs/fusion-cli/blob/83894b4ff4018b8daf04e90db90cf7d997b628d9/build/jest/jest-config.js#L17 https://github.com/fusionjs/fusion-cli/blob/83894b4ff4018b8daf04e90db90cf7d997b628d9/build/jest/base-jest-config.js#L27

swojit commented 6 years ago

Do you know how to reproduce this? I changed the settings above as you mentioned and ran the tests in the repo twice (to enable cache) and it passed. I also ran the cli in one fusion app and the tests passed too.