Removes need to use babel-register (#4865)

* Removes need to use babel-register

- Adds watch to watch changes when running the test to regenerate
- Tests are now pure node 8

* Adds timing to helper.js

* Update contribution guide

* Adds inline sourcemaps generation to restore coverage

* nits
This commit is contained in:
Florent Vilmart
2018-07-02 23:30:14 -04:00
parent f23eb4c419
commit 305e4ba445
86 changed files with 260 additions and 225 deletions

View File

@@ -1,14 +1,14 @@
"use strict";
/* global describe, it, expect, fail, Parse */
const request = require('request');
const triggers = require('../src/triggers');
const HooksController = require('../src/Controllers/HooksController').default;
const triggers = require('../lib/triggers');
const HooksController = require('../lib/Controllers/HooksController').default;
const express = require("express");
const bodyParser = require('body-parser');
const port = 12345;
const hookServerURL = "http://localhost:" + port;
const AppCache = require('../src/cache').AppCache;
const AppCache = require('../lib/cache').AppCache;
describe('Hooks', () => {
let server;