From b68baeefcaea6b2022c2d562e97904c86f103d68 Mon Sep 17 00:00:00 2001 From: Josh Betz Date: Sat, 19 Nov 2022 11:58:55 -0600 Subject: [PATCH] Import test dependencies from index.ts --- __tests__/hashpool.ts | 3 +-- __tests__/memcached.ts | 2 +- __tests__/pool.ts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/__tests__/hashpool.ts b/__tests__/hashpool.ts index 06c3a80..aa206d1 100644 --- a/__tests__/hashpool.ts +++ b/__tests__/hashpool.ts @@ -1,5 +1,4 @@ -import HashPool from '../src/hashpool'; -import Pool from '../src/pool'; +import { HashPool, Pool } from '../src'; describe( 'hashpool', () => { it( 'should correctly shutdown hash pool', async () => { diff --git a/__tests__/memcached.ts b/__tests__/memcached.ts index 45378ff..67dcb1f 100644 --- a/__tests__/memcached.ts +++ b/__tests__/memcached.ts @@ -1,4 +1,4 @@ -import Memcached from '../src/memcached'; +import { Memcached } from '../src'; describe( 'connection', () => { it( 'should correctly acquire a memcached connection', async () => { diff --git a/__tests__/pool.ts b/__tests__/pool.ts index 7f5b95a..749275e 100644 --- a/__tests__/pool.ts +++ b/__tests__/pool.ts @@ -1,4 +1,4 @@ -import Pool from '../src/pool'; +import { Pool } from '../src'; describe( 'pool', () => { it( 'should correctly set pool configuration', async () => {