diff --git a/__tests__/pool.ts b/__tests__/pool.ts index 296f11c..70dd9f7 100644 --- a/__tests__/pool.ts +++ b/__tests__/pool.ts @@ -31,6 +31,7 @@ describe( 'pool', () => { it( 'should return false if no hosts exist', async () => { const pool = new Pool( 12345, 'invalid-host' ); + expect( await pool.set( 'test', 'test' ) ).toBe( false ); expect( pool.get( 'invalid-host' ) ).resolves.toBe( false ); await pool.end(); } );