misc, fix client tests

This commit is contained in:
Matteo Pagliazzi
2019-10-15 15:32:53 +02:00
parent ed7a54dfd6
commit 0bac3c0b5f
65 changed files with 136 additions and 78 deletions

View File

@@ -1,7 +1,6 @@
const express = require('express');
const uuid = require('uuid');
const bodyParser = require('body-parser');
import express from 'express';
import uuid from 'uuid';
import bodyParser from 'body-parser';
const app = express();
const server = require('http').createServer(app);
@@ -62,7 +61,7 @@ function getWebhookData (id) {
return webhookData[id].pop();
}
module.exports = {
export default {
start,
close,
getWebhookData,