Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Jan 30, 2024
1 parent 0813e2a commit 3db9f34
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/PoolConfig.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,9 @@ describe('test/PoolConfig.test.ts', () => {
});

describe('new RDSClient(options.getConnectionConfig)', () => {
it('should get connection config from newConnectionConfig()', async () => {
it('should get connection config from connectionConfig', async () => {
assert.equal(db.pool.config.database, undefined);
assert.equal(index, 1);
assert.equal((db.pool.config as any).connectionConfig.database, config.database);
assert.equal(index, 2);
});

it('should connect rds success', async () => {
Expand Down

0 comments on commit 3db9f34

Please sign in to comment.