switch localStorage mock to mock-local-storage,

fix unit tests to work with ES6 import syntax,
remove testenv module
This commit is contained in:
Arthur Lu
2022-11-11 02:39:40 +00:00
parent 23c29e80bc
commit 8b2ae89bd2
7 changed files with 10 additions and 166 deletions

View File

@@ -1,6 +1,3 @@
//
//module.exports = {getReviewsFromStorage, saveReviewsToStorage};
/**
* @returns {Array<Object>} An array of reviews found in localStorage
*/