mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
8 lines
236 B
JavaScript
8 lines
236 B
JavaScript
import * as db from '../common/database';
|
|
import * as models from '../models';
|
|
|
|
export async function globalBeforeEach() {
|
|
// Setup the local database in case it's used
|
|
await db.init(models.types(), { inMemoryOnly: true }, true);
|
|
}
|