jest-environment-mysql

1.2.17 • Public • Published

jest-environment-mysql

Deploys a MySQL 5.7 server running on your local machine at localhost:3306. The server starts up once for all test files before any of them run, and it automatically stops when all of your tests are done.

Currently, the only operating system supported is OSX x64.


Installation

yarn add --dev jest-environment-mysql mysql-server-5.7-osx-x64

Update your Jest configuration:

{
  "globalSetup": "jest-environment-mysql/lib/globalSetup",
  "globalTeardown": "jest-environment-mysql/lib/globalTeardown"
}

Readme

Keywords

none

Package Sidebar

Install

npm i jest-environment-mysql

Weekly Downloads

36

Version

1.2.17

License

GPL-3.0

Unpacked Size

12.4 kB

Total Files

20

Last publish

Collaborators

  • taylorgoolsby