File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1- var common = require ( '../../ common' ) ;
1+ var common = require ( '../common' ) ;
22var assert = require ( 'assert' ) ;
33
44common . ORM . settings . set ( "some.sub.object" , 123.45 ) ;
Original file line number Diff line number Diff line change 1- var common = require ( '../../ common' ) ;
1+ var common = require ( '../common' ) ;
22var assert = require ( 'assert' ) ;
3- var Validation = require ( '../../../ lib/Validators' ) ;
3+ var Validation = require ( '../../lib/Validators' ) ;
44var _ ; // undefined
55
66Validation . rangeNumber ( 0 , 10 ) ( 5 , checkValidation ( ) ) ;
Original file line number Diff line number Diff line change @@ -3,11 +3,13 @@ var Mocha = require('mocha'),
33 path = require ( 'path' ) ,
44 mocha = null ,
55 location = null ;
6- var options = { } ;
6+ var options = {
7+ include : new RegExp ( "integration\\/test\\-.*\\.js$" )
8+ } ;
79
810function runClassicTests ( ) {
911 if ( process . env . FILTER ) {
10- options . include = new RegExp ( process . env . FILTER + '.*\\.js$' ) ;
12+ options . include = new RegExp ( "integration\\/test\\-.*" + process . env . FILTER + '.*\\.js$' ) ;
1113 }
1214 process . stdout . write ( "\033[1;34m[i] \033[0;34mTesting \033[1;34m" + process . env . ORM_PROTOCOL + "\033[0m\n" ) ;
1315 process . stdout . write ( "\033[1;34m[i] \033[0;34mURI: \033[1;34m" + require ( './common' ) . getConnectionString ( ) + "\033[0m\n" ) ;
You can’t perform that action at this time.
0 commit comments