Mocha testing PostgreSQL with Knex is giving me a MigrationLocked error
I have got a local development environment working for Node/PostgreSQL/Knex in the sense that I can post to a development database on my machine using an API. I am now trying to create tests for this functionality but am getting an error. Here's my config: //knexfile.js module.exports = { development: { client: 'pg', connection: { host: '127.0.0.1', user: 'dbUser', password: 'dbpword', port: 5432, database: 'example-name' }, migrations: { directory: __dirname + '/db/migrations' }, seeds: { directory: __dirname + '/db/seeds/development' } }, } //db.js const config = require('../knexfile.js');