test: add applications settings tests
This commit is contained in:
@@ -3,10 +3,10 @@ import knex from 'knex';
|
||||
import knexConfig from '../knexfile.js';
|
||||
|
||||
publicTest.describe('restore db', () => {
|
||||
publicTest('clean db and perform migrations', async () => {
|
||||
const knexClient = knex(knexConfig)
|
||||
const migrator = knexClient.migrate;
|
||||
await migrator.rollback({}, true);
|
||||
await migrator.latest();
|
||||
})
|
||||
publicTest('clean db and perform migrations', async () => {
|
||||
const knexClient = knex(knexConfig);
|
||||
const migrator = knexClient.migrate;
|
||||
await migrator.rollback({}, true);
|
||||
await migrator.latest();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user