Skip to content

Commit

Permalink
Exports clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
corradodellorusso committed Nov 29, 2023
1 parent 17ef288 commit 4f155c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export * from './caching';
export * from './multi-caching';
export * from './stores';
export { Cache } from './types';
export { WrapOptions } from './types';
export { WrapTTL } from './types';
Expand Down
3 changes: 1 addition & 2 deletions test/caching.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import { faker } from '@faker-js/faker';
import promiseCoalesce from 'promise-coalesce';
import { beforeEach, describe, expect, it, vi } from 'vitest';

import { Cache, caching } from '../src';
import { Cache, caching, createLruStore } from '../src';
import { sleep } from './utils';
import { createLruStore } from '../src/stores';

// Allow the module to be mocked so we can assert
// the old and new behavior for issue #417
Expand Down
3 changes: 1 addition & 2 deletions test/multi-caching.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { faker } from '@faker-js/faker';

import { sleep } from './utils';

import { Cache, caching, MultiCache, multiCaching, Store } from '../src';
import { createLruStore } from '../src/stores';
import { Cache, caching, MultiCache, multiCaching, Store, createLruStore } from '../src';

describe('multiCaching', () => {
let memoryCache: Cache;
Expand Down

0 comments on commit 4f155c4

Please sign in to comment.