11 lines
316 B
TypeScript
11 lines
316 B
TypeScript
import { expect } from 'chai';
|
|
import 'mocha';
|
|
import { Database, getConnection } from './database';
|
|
|
|
describe('Database Service', () => {
|
|
it('returns a connection', async () => {
|
|
const libraryConnection = await getConnection(Database.LIBRARY);
|
|
expect(libraryConnection).to.not.equal(undefined);
|
|
});
|
|
});
|