mirror of
https://github.com/Kong/insomnia
synced 2024-11-12 17:26:32 +00:00
09c219fb6d
* Playing around with pre-request hooks * Added response hooks * More flow types * Flow types on wrapper.js * Flow types on plugin folder * Basic tests for plugin hooks * Make DB initilize for all tests no matter what * Touch
8 lines
214 B
JavaScript
8 lines
214 B
JavaScript
import * as db from '../common/database';
|
|
import * as models from '../models';
|
|
|
|
export default function () {
|
|
// Setup the local database in case it's used
|
|
db.init(models.types(), {inMemoryOnly: true}, true);
|
|
}
|