Merge pull request #4 from Joe-Dowd/query-by-hash-prefix

Query by hash prefix
This commit is contained in:
Joe Dowd
2020-09-03 22:26:46 +01:00
committed by GitHub
17 changed files with 405 additions and 110 deletions

View File

@@ -22,7 +22,7 @@ describe('noSegmentRecords', () => {
it('Should update the database version when starting the application', (done) => {
let version = db.prepare('get', 'SELECT key, value FROM config where key = ?', ['version']).value;
if (version > 1) done();
else done('Version isn\'t greater that 1. Version is ' + version);
else done('Version isn\'t greater than 1. Version is ' + version);
});
it('Should be able to submit categories not in video (http response)', (done) => {