import express from 'express' ; import jagtester from '../src/middleware/index' ; const app = express ( ) ; app . use ( jagtester ( app ) ) ; app . get ( '/' , ( req , res ) => { res . sendStatus ( 200 ) ; } ) ; export default app ;