Skip to content

Commit

Permalink
fix: Redux bundler no dup (#1590)
Browse files Browse the repository at this point in the history
* Use composeBundlesRaw instead of composeBundles
Prevent integrateBundles from being used with existing bundles

* Add unit test for redundant redux-bundles

* Use result of `realize`
  • Loading branch information
christianlent authored Apr 7, 2020
1 parent 26c373d commit 2fc74a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/subapp-pbundle/test/spec/shared.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ describe("shared redux store", function() {

const container = {};
const reduxCreateStore = getReduxCreateStore(info1);
const store = reduxCreateStore(null, container);
store.realize();
let store = reduxCreateStore(null, container);
store = store.realize();
reduxCreateStore(null, container);
expect(store.meta.chunks[0].bundleNames).to.deep.equal(["count"]);
});
Expand Down

0 comments on commit 2fc74a9

Please sign in to comment.