import fs = require ( 'fs' ) ; import * as chai from 'chai' ; import chaiHttp = require ( 'chai-http' ) ; import { FixtureUtils } from '../../../fixtures/FixtureUtils' ; import { Server } from '../../../src/server' ; import { FixtureLoader } from '../../../fixtures/FixtureLoader' ; import { JwtUtils } from '../../../src/security/JwtUtils' ; import { User } from '../../../src/models/User' ; chai . use ( chaiHttp ) ; const should = chai . should ( ) ; const app = new Server ( ) . app ; const BASE_URL = '/api/units' ; const fixtureLoader = new FixtureLoader ( ) ; describe ( 'FileUnit' , ( ) => { beforeEach ( async ( ) => { await fixtureLoader . load ( ) ; } ) ; } ) ;