upgrade to mysql2 package

This commit is contained in:
Martin McKeaveney 2021-10-21 14:47:35 +01:00
parent 218996d50d
commit d573eb464a
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import { Table, TableSchema } from "../definitions/common"
import { getSqlQuery } from "./utils"
module MySQLModule {
const mysql = require("mysql")
const mysql = require("mysql2")
const Sql = require("./base/sql")
const {
buildExternalTableId,

View File

@ -1,5 +1,5 @@
const MySQLIntegration = require("../mysql")
jest.mock("mysql")
jest.mock("mysql2")
class TestConfiguration {
constructor(config = { ssl: {} }) {