Moved contents of seasoned_api up to root folder
This commit is contained in:
		
							
								
								
									
										9
									
								
								tests/helpers/createCacheEntry.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								tests/helpers/createCacheEntry.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| const Cache = require('src/tmdb/cache'); | ||||
| const SqliteDatabase = require('src/database/sqliteDatabase'); | ||||
|  | ||||
| function createCacheEntry(key, value) { | ||||
|   const cache = new Cache(); | ||||
|   return cache.set(key, value); | ||||
| } | ||||
|  | ||||
| module.exports = createCacheEntry; | ||||
		Reference in New Issue
	
	Block a user