This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('General test name', () => { | |
describe('Test name', () => { | |
const anyData = {}; | |
before(() => | |
(this.promise = api.get(url) | |
.send(anyData))) | |
}) | |
}) |