diff --git a/test/upgrade.js b/test/upgrade.js index 9d934cc404..034686874e 100644 --- a/test/upgrade.js +++ b/test/upgrade.js @@ -26,4 +26,10 @@ describe('Upgrade', () => { await db.set('schemaDate', 1); await upgrade.run(); }); + + it('should run particular upgrades', async () => { + const files = await upgrade.getAll(); + await db.set('schemaDate', 1); + await upgrade.runParticular(files.slice(0, 2)); + }); });