We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9d07a9 commit 2eabb99Copy full SHA for 2eabb99
test.js
@@ -769,6 +769,7 @@ describe('node-cache', function() {
769
cache.put('key2', 'value2', 1000);
770
var exportedJson = cache.exportJson();
771
772
+ cache.clear();
773
cache.put('key1', 'changed value', 5000);
774
cache.put('key3', 'value3', 500);
775
@@ -779,14 +780,14 @@ describe('node-cache', function() {
779
780
value: 'changed value',
781
expire: START_TIME + 5000,
782
},
- key2: {
783
- value: 'value2',
784
- expire: START_TIME + 1000,
785
- },
786
key3: {
787
value: 'value3',
788
expire: START_TIME + 500,
789
+ key2: {
+ value: 'value2',
+ expire: START_TIME + 1000,
790
+ },
791
}));
792
});
793
0 commit comments