-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mateu Aguiló Bosch
committed
Jul 23, 2018
1 parent
8382d0c
commit 020ea6d
Showing
4 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// @flow | ||
|
||
const KeyvLru = require('./KeyvLru'); | ||
const KeyvNullManagedTtl = require('./KeyvLruManagedTtl'); | ||
const KeyvLruManagedTtl = require('./KeyvLruManagedTtl'); | ||
|
||
module.exports = { KeyvLru, KeyvNullManagedTtl }; | ||
module.exports = { KeyvLru, KeyvLruManagedTtl }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const testSuite = require('ava'); | ||
const keyvTestSuite = require('@keyv/test-suite').default; | ||
const Keyv = require('keyv'); | ||
const { KeyvLruManagedTtl } = require('./lib'); | ||
|
||
const store = () => new KeyvLruManagedTtl(1000); | ||
keyvTestSuite(testSuite, Keyv, store); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const testSuite = require('ava'); | ||
const keyvTestSuite = require('@keyv/test-suite').default; | ||
const Keyv = require('keyv'); | ||
const KeyvStore = require('./lib'); | ||
const { KeyvLru } = require('./lib'); | ||
|
||
const store = () => new KeyvStore(1000); | ||
const store = () => new KeyvLru(1000); | ||
keyvTestSuite(testSuite, Keyv, store); |