text: export default function(portfolioSummaries) {
    describe(`portfolio's summaries shape`, () => {
      assert.isDefined(portfolioSummaries);
      assert.isArray(portfolioSummaries);
  
      portfolioSummaries.forEach(summary => {
        assertSummary(summary);
      });
    });
  }
  
  function assertSummary(summary) {
    describe(`summary's shape`, () => {
      it("label", () => {
        assert.isDefined(summary.label);
        assert.isString(summary.label);
      });
  
      it("value", () => {
        assert.isDefined(summary.value);
        assert.isString(summary.value);
      });
    });
  }
  