Skip to content

Commit

Permalink
fix(instrumentation-mysql): fix test for mysql2 v3 (#2168) (#2451)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Praxl <[email protected]>
Co-authored-by: Marc Pichler <[email protected]>
Co-authored-by: Amir Blum <[email protected]>
  • Loading branch information
3 people authored Nov 1, 2024
1 parent a926f53 commit ad8c581
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 64 deletions.
118 changes: 57 additions & 61 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@types/mocha": "7.0.2",
"@types/node": "18.18.14",
"@types/semver": "7.5.8",
"mysql2": "2.3.3",
"mysql2": "3.11.3",
"nyc": "15.1.0",
"rimraf": "5.0.10",
"semver": "7.6.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ interface Result extends mysqlTypes.RowDataPacket {
solution: number;
}

describe('mysql2@2.x', () => {
describe('mysql2', () => {
let contextManager: AsyncHooksContextManager;
let connection: mysqlTypes.Connection;
let rootConnection: mysqlTypes.Connection;
Expand Down Expand Up @@ -148,7 +148,7 @@ describe('[email protected]', () => {
host,
password,
database,
} as mysqlTypes.PoolClusterOptions);
});
});

afterEach(done => {
Expand Down

0 comments on commit ad8c581

Please sign in to comment.