message: Added test to show shared deps merge strategy creates an empty shared bundle if threshold not met.
diff: @@ -262,6 +262,8 @@ suite('BundleManifest', () => {
  '[D]->[8,D]'
  ].map(deserializeBundle);
  + const strategy9 = generateSharedDepsMergeStrategy(9);
  + const bundles9 = strategy9(bundles).map(serializeBundle).sort();
  const strategy3 = generateSharedDepsMergeStrategy(3);
  const bundles3 = strategy3(bundles).map(serializeBundle).sort();
  const strategy2 = generateSharedDepsMergeStrategy(2);
  @@ -309,6 +311,11 @@ suite('BundleManifest', () => {
  ]);
  });
  + test('does not change bundles if threshold is not met', () => {
  + const originalBundles = bundles.map(serializeBundle).sort();
  + assert.deepEqual(bundles9, originalBundles);
  + });
  +
  // TODO(usergenic): It feels like the generateSharedDepsMergeStrategy
  // could do something smarter for the case where groups of deps are
  // exclusive. Leaving this test here as a future behavior to consider.
  