// This script is responsible for 
// tests the HTTP routes.

const request = require('supertest');

describe('loading express', function() {

  // Instantiate the server
  var server;

  beforeEach(function() {
  	// Remove cache
  	delete require.cache[require.resolve('../server.js')];
  	server = require('../server.js');
  });

  afterEach(function(done) {
  	server.close(done);
  });

  it('responds to /', function testSlash(done) {
  	request(server)
  		.get('/')
  		.expect(200, done);
  });

  it('404 everything else', function testPath(done) {
  	console.log('test 404');
  	request(server)
  		.get('/foo/bar')
  		.expect(404, done);
  });

});
@@ -122,26 +122,21 @@
 press', 
-function()
+() =%3E
  %7B%0A%0A  //
@@ -191,18 +191,13 @@
 ach(
-function()
+() =%3E
  %7B%0A 
@@ -332,22 +332,17 @@
 ach(
-function
 (done)
+ =%3E
  %7B%0A 
@@ -396,32 +396,17 @@
 /', 
-function testSlash
 (done)
+ =%3E
  %7B%0A 
@@ -500,31 +500,17 @@
 e', 
-function testPath
 (done)
+ =%3E
  %7B%0A 

Converting to ES6 arrow functions