Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

Commit

Permalink
added utilities for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed Jan 24, 2022
1 parent 54d8a58 commit 65ef127
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/utilities.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export const generateEntries = async (cache, amount) => {
let iterations = amount
while(iterations > 0) {
await cache.write(iterations, `smth${iterations}`)
iterations--
}
}

0 comments on commit 65ef127

Please sign in to comment.