pluginpal / strapi-plugin-config-sync

:recycle: CLI & GUI for continuous migration of config data across environments
https://www.pluginpal.io/plugin/config-sync
MIT License
256 stars 36 forks source link

Feature/fix import on bootstrap #111

Closed boazpoolman closed 1 year ago

boazpoolman commented 1 year ago

What does it do?

Fix the importOnBootstrap feature

Why is it needed?

The importOnBootstrap feature is broken since 1.2 as per #109

How to test it?

I've included new integration tests in this PR. They are currently failing with the same error as described in #109. As soon as we've fixed those tests the PR can be merged and the issue will be fixed.

Related issue(s)/PR(s)

109

codecov-commenter commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (d101e3c) 0.00% compared to head (19f5ba1) 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #111 +/- ## ============================================= + Coverage 0 100.00% +100.00% ============================================= Files 0 8 +8 Lines 0 27 +27 Branches 0 3 +3 ============================================= + Hits 0 27 +27 ``` | [Flag](https://app.codecov.io/gh/boazpoolman/strapi-plugin-config-sync/pull/111/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Boaz+Poolman) | Coverage Δ | | |---|---|---| | [unit](https://app.codecov.io/gh/boazpoolman/strapi-plugin-config-sync/pull/111/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Boaz+Poolman) | `100.00% <100.00%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Boaz+Poolman#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/boazpoolman/strapi-plugin-config-sync/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Boaz+Poolman) | Coverage Δ | | |---|---|---| | [playground/\_\_tests\_\_/helpers.js](https://app.codecov.io/gh/boazpoolman/strapi-plugin-config-sync/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Boaz+Poolman#diff-cGxheWdyb3VuZC9fX3Rlc3RzX18vaGVscGVycy5qcw==) | `100.00% <100.00%> (ø)` | | | [playground/config/plugins.js](https://app.codecov.io/gh/boazpoolman/strapi-plugin-config-sync/pull/111?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Boaz+Poolman#diff-cGxheWdyb3VuZC9jb25maWcvcGx1Z2lucy5qcw==) | `100.00% <100.00%> (ø)` | | ... and [6 files with indirect coverage changes](https://app.codecov.io/gh/boazpoolman/strapi-plugin-config-sync/pull/111/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Boaz+Poolman)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.