Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Ginnivan committed Sep 7, 2018
1 parent 29bd17f commit 446799e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/tape/migrate.js
Expand Up @@ -15,11 +15,8 @@ tape('migrate: setConfig() overrides configs given in constructor', function(
t
) {
t.plan(1);
const migrator = new Migrator({
client: { config: { migrations: { directory: '/some/dir' } } },
});

const config = migrator.setConfig({ directory: './custom/path' });
const config = Migrator.mergeConfig({ directory: './custom/path' });

t.equal(config.directory, './custom/path');
});

0 comments on commit 446799e

Please sign in to comment.