Skip to content

Commit

Permalink
test: change message error NJS-003
Browse files Browse the repository at this point in the history
in official repository from `node-oracledb` has a commit changing this message \n[Commit](oracle/node-oracledb@8206eb6#diff-0af7067b49efcaf7dae9a3707f2e79638b336e72780d2b834e007f80ef9a5fa0R196)
  • Loading branch information
gabolera committed May 11, 2024
1 parent 1f3bb9c commit 18e2f05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/dialects/oracledb.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ describe('Oracle', () => {
}

expect(exception).not.to.equal(undefined);
expect(exception.message).to.include('NJS-003: invalid connection');
expect(exception.message).to.include(
'NJS-003: invalid or closed connection'
);
expect(spy.callCount).to.equal(1);
});

Expand Down

0 comments on commit 18e2f05

Please sign in to comment.