Further enhance title matching by added fuse with a threshold of a 75% match

This commit is contained in:
iPromKnight
2024-02-29 21:39:31 +00:00
parent db1a266a87
commit 65b8fe588b
5 changed files with 35 additions and 10 deletions

View File

@@ -66,7 +66,7 @@ xdescribe('MongoRepository Tests - Manual Tests against real cluster. Skipped by
expect(result).toBe('tt0084726');
}, 30000);
it('should get Wrath of Khan imdbId correctly', async () => {
it('should get Wrath of Khan simple imdbId correctly', async () => {
await mongoRepository.connect();
const result = await mongoRepository.getImdbId('Wrath of Khan', TorrentType.Movie, 1982);
expect(result).toBe('tt0084726');