/* eslint prefer-arrow-callback: 0, func-names: 0, 'react/jsx-filename-extension': [1, { "extensions": [".js", ".jsx"] }] */

import React from 'react';
import assert from 'assert';
import { shallow } from 'enzyme';
import HowToBuildProject from './how-to-build-project';

describe.only('HowToBuildProject', function () {
  let wrapper;

  before(function () {
    wrapper = shallow(<HowToBuildProject />);
  });

  it('renders without crashing', function () {
    assert.equal(wrapper, wrapper);
  });

  it('renders all of the text via markdown elements', function () {
    const markdownElements = wrapper.find('div.on-secondary-page').children();
    assert.equal(markdownElements.length, 1);
  });
});

@@ -278,13 +278,8 @@
 ribe
-.only
 ('Ho
@@ -310,16 +310,16 @@
 on () %7B%0A
+
   let wr
@@ -453,44 +453,8 @@
 ) %7B%0A
-    assert.equal(wrapper, wrapper);%0A
   %7D)
@@ -645,17 +645,18 @@
 length, 
-1
+23
 );%0A  %7D);

Fix sad, failing tests.