Skip to content

Commit

Permalink
add missing dev dep
Browse files Browse the repository at this point in the history
  • Loading branch information
oznu committed Aug 31, 2020
1 parent 8c9972b commit 74bdf1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"buffer-shims": "^1.0.0",
"concurrently": "^5.3.0",
"dotenv": "^8.2.0",
"form-data": "^3.0.0",
"jest": "^26.4.2",
"lodash": "^4.17.20",
"nodemon": "^2.0.4",
Expand Down Expand Up @@ -131,4 +132,4 @@
"smart home",
"hb-service"
]
}
}
3 changes: 3 additions & 0 deletions test/e2e/backup.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ describe('BackupController (e2e)', () => {
expect(client.emit).toBeCalledWith('stdout', expect.stringContaining('Restoring backup'));
expect(client.emit).toBeCalledWith('stdout', expect.stringContaining('Restore Complete'));
expect(pluginsService.installPlugin).toBeCalledWith('homebridge-mock-plugin', client);

// ensure the temp restore directory was removed
expect(await fs.pathExists(restoreDirectory)).toEqual(false);
});

it('GET /backup/restart', async () => {
Expand Down

0 comments on commit 74bdf1f

Please sign in to comment.