UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

BULL-3221: express mvp

Merged Douglas Lagemann requested to merge BULL-3221_express_mvp into main
2 files
+ 37
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 24
0
const { getDbVersion, healthCheck, runMigrations } = require('../data/dataLayer');
describe('Data', () => {
describe('runMigrations', () => {
it('is a stub', async () => {
await runMigrations();
});
});
describe('healthCheck', () => {
it('returns the stubbed out data', async () => {
const result = await healthCheck();
expect(result).toEqual({
healthy: true,
message: "Health check succeeded, but no database is deployed"
});
});
});
describe('getDbVersion', () => {
it('returns the stubbed out data', async () => {
const result = await getDbVersion();
expect(result).toEqual("no database deployed");
});
});
});
\ No newline at end of file
Loading