Skip to content

Instantly share code, notes, and snippets.

View ArturAralin's full-sized avatar

Artur ArturAralin

View GitHub Profile
import { Request, Response, Errback, NextFunction } from 'express';
import { pick, bind, assoc, defaultTo } from 'ramda';
import AppError from '../error-default';
import { createLogger } from '../logger';
import UnexpectedError from '../../lib/errors/unexpected';
const DEFAULT_STATUS = 200;
const logger = createLogger('api-endpoint');
describe('General test name', () => {
describe('Test name', () => {
const anyData = {};
before(() =>
(this.promise = api.get(url)
.send(anyData)))
})
})