Skip to content

Commit

Permalink
feat(core): add support for Node.js 14 (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaty authored and B4nan committed Aug 9, 2020
1 parent b6c0578 commit 2093af8
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 100 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 13.x]
node-version: [10.x, 12.x, 13.x, 14.x]

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion tests/FileCacheAdapter.test.ts
Expand Up @@ -7,7 +7,7 @@ describe('FileCacheAdapter', () => {
test('should ignore old cache', async () => {
const origin = TEMP_DIR + '/.origin';
const cache = new FileCacheAdapter({ cacheDir: TEMP_DIR }, TEMP_DIR);
writeFileSync(origin, 123);
writeFileSync(origin, '123');
await cache.set('cache-test-handle-1', 123, origin);
await expect(cache.get('cache-test-handle-1')).resolves.toBe(123);

Expand Down

0 comments on commit 2093af8

Please sign in to comment.