hunk.code_window: var React = require('react');
   var SVGSet = require('../../src/SVGSet');
   var Logo = require('../../src/Logo');
   var DocHeader = React.createClass({
     render() {
       return (
         <div className="header">
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit: var packageJson = require('../../../../package.json');
  
hunk.file_path: pages/src/docs/src/DocHeader.js
hunk.type: add
file: /**
   * Copyright (c) 2014-present, Facebook, Inc.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  ///<reference path='../resources/jest.d.ts'/>
  
  import jasmineCheck = require('jasmine-check');
  jasmineCheck.install();
  
  import { Seq } from '../';
  
  describe('join', () => {
  
    it('string-joins sequences with commas by default', () => {
      expect(Seq([1, 2, 3, 4, 5]).join()).toBe('1,2,3,4,5');
    });
  
    it('string-joins sequences with any string', () => {
      expect(Seq([1, 2, 3, 4, 5]).join('foo')).toBe('1foo2foo3foo4foo5');
    });
  
    it('string-joins sequences with empty string', () => {
      expect(Seq([1, 2, 3, 4, 5]).join('')).toBe('12345');
    });
  
    it('joins sparse-sequences like Array.join', () => {
      let a = [1, undefined, 2, undefined, 3, undefined, 4, undefined, 5, undefined, undefined];
      expect(Seq(a).join()).toBe(a.join());
    });
  
    check.it('behaves the same as Array.join',
      [gen.array(gen.primitive), gen.primitive], (array, joiner) => {
        expect(Seq(array).join(joiner)).toBe(array.join(joiner));
    });
  
  });
  