Skip to content

Commit 3a638e1

Browse files
authored
Merge pull request #33 from jhomarolo/master
Add mysql tests
2 parents 21cd1b5 + 96408f4 commit 3a638e1

File tree

14 files changed

+2247
-3
lines changed

14 files changed

+2247
-3
lines changed

.env_sample_mysql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
DB_USER=root
2+
DB_HOST=localhost
3+
DB_DATABASE=herbs2knex
4+
DB_PASSWORD=
5+
DB_PORT=3306
6+
DB_CLIENT=mysql2

.vscode/launch.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,25 @@
4141
]
4242
}
4343
,
44+
{
45+
"type": "node",
46+
"request": "launch",
47+
"name": "DB Tests mysql",
48+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
49+
"args": [
50+
"--timeout",
51+
"999999",
52+
"--colors",
53+
"--recursive",
54+
"${workspaceFolder}/testdb/mysql"
55+
],
56+
"internalConsoleOptions": "openOnSessionStart",
57+
"skipFiles": [
58+
"${workspaceFolder}/node_modules/**/*.js",
59+
"<node_internals>/**/*.js"
60+
]
61+
}
62+
,
4463
{
4564
"type": "node",
4665
"request": "launch",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ Tests:
328328
- [X] Pure JS
329329
- [X] Postgress
330330
- [X] Sql Server
331-
331+
- [X] MySQL
332332

333333
### Contribute
334334

0 commit comments

Comments
 (0)