upgrade to mysql2 package
This commit is contained in:
parent
218996d50d
commit
d573eb464a
|
@ -10,7 +10,7 @@ import { Table, TableSchema } from "../definitions/common"
|
||||||
import { getSqlQuery } from "./utils"
|
import { getSqlQuery } from "./utils"
|
||||||
|
|
||||||
module MySQLModule {
|
module MySQLModule {
|
||||||
const mysql = require("mysql")
|
const mysql = require("mysql2")
|
||||||
const Sql = require("./base/sql")
|
const Sql = require("./base/sql")
|
||||||
const {
|
const {
|
||||||
buildExternalTableId,
|
buildExternalTableId,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const MySQLIntegration = require("../mysql")
|
const MySQLIntegration = require("../mysql")
|
||||||
jest.mock("mysql")
|
jest.mock("mysql2")
|
||||||
|
|
||||||
class TestConfiguration {
|
class TestConfiguration {
|
||||||
constructor(config = { ssl: {} }) {
|
constructor(config = { ssl: {} }) {
|
||||||
|
|
Loading…
Reference in New Issue