title: Encoding not recognized in jest.js
body: <p>I have a problem testing a project using node-mysql2, react, sequelize and jest. This problem only occurs during testing.</p>
  
  <pre><code>Encoding not recognized: 'cesu8' (searched as: 'cesu8')
      at Object.getCodec (project/node_modules/mysql2/node_modules/iconv-lite/lib/index.js:106:23)
      at Object.getDecoder (project/node_modules/mysql2/node_modules/iconv-lite/lib/index.js:122:23)
      at Object.&lt;anonymous&gt;.exports.decode (project/node_modules/mysql2/lib/parsers/string.js:9:23)
      at Packet.Object.&lt;anonymous&gt;.Packet.readNullTerminatedString (project/node_modules/mysql2/lib/packets/packet.js:373:23)
      at Function.Object.&lt;anonymous&gt;.Handshake.fromPacket (project/node_modules/mysql2/lib/packets/handshake.js:18:31)
      at ClientHandshake.Object.&lt;anonymous&gt;.ClientHandshake.handshakeInit (project/node_modules/mysql2/lib/commands/client_handshake.js:98:38)
      at ClientHandshake.Object.&lt;anonymous&gt;.Command.execute (project/node_modules/mysql2/lib/commands/command.js:40:20)
      at Connection.Object.&lt;anonymous&gt;.Connection.handlePacket (project/node_modules/mysql2/lib/connection.js:515:28)
      at PacketParser.onPacket (project/node_modules/mysql2/lib/connection.js:94:16)
      at PacketParser.executeStart (project/node_modules/mysql2/lib/packet_parser.js:77:14)
      at Socket.&lt;anonymous&gt; (project/node_modules/mysql2/lib/connection.js:102:29)
  </code></pre>