diff --git a/package.json b/package.json index d419adb..1add3b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cachetools-js", - "version": "1.0.3", + "version": "1.0.4", "description": "Best, faster, ligther, all-in-one, fully-typed cache library for JS, based on cachetools from python, with events, pooling and decorators.", "author": "vinikjkkj", "license": "MIT", @@ -12,8 +12,7 @@ "prepare": "tsc", "lint": "eslint src", "lint:fix": "eslint src --fix", - "test": "jest --detectOpenHandles", - "publish": "npm run build && npm publish" + "test": "jest --detectOpenHandles" }, "devDependencies": { "@types/jest": "^29.5.12", diff --git a/tests/ttl.test.ts b/tests/ttl.test.ts index d7496ab..4081cc2 100644 --- a/tests/ttl.test.ts +++ b/tests/ttl.test.ts @@ -37,7 +37,7 @@ describe('TTLCache', () => { expect(cache.get('key')).toBeUndefined() done() }, 20) - }) + }, 50) test('should throw SizeError when exceeding maxsize', () => { cache.set('key', 'value') @@ -64,7 +64,7 @@ describe('TTLCache', () => { expect(cache.get('key')).toBeUndefined() done() }, 150) - }) + }, 200) test('should return keys and values', () => { cache.set('key', 'value')