File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ describe('config', () => {
1717
1818 it ( `loads mysql cov config` , async ( ) => {
1919 const cfg = await Config . get ( 'mysql' , 'cov' )
20- assert . deepEqual ( cfg , mysqlCovCfg )
20+ assert . deepEqual ( cfg , mysqlTestCfg )
2121 } )
2222
2323 it ( `loads mysql cov config (from cache)` , async ( ) => {
2424 process . env . NODE_DEBUG = 1
2525 const cfg = await Config . get ( 'mysql' , 'cov' )
26- assert . deepEqual ( cfg , mysqlCovCfg )
26+ assert . deepEqual ( cfg , mysqlTestCfg )
2727 process . env . NODE_DEBUG = ''
2828 } )
2929
@@ -60,17 +60,6 @@ const mysqlTestCfg = {
6060 decimalNumbers : true ,
6161}
6262
63- const mysqlCovCfg = {
64- host : '127.0.0.1' ,
65- port : 3306 ,
66- user : 'root' ,
67- password : 'root' ,
68- database : 'nictool' ,
69- timezone : '+00:00' ,
70- dateStrings : [ 'DATETIME' , 'TIMESTAMP' ] ,
71- decimalNumbers : true ,
72- }
73-
7463const httpCfg = {
7564 host : 'localhost' ,
7665 port : 3000 ,
You can’t perform that action at this time.
0 commit comments