File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ module.exports = [
2525 it_id : "readonly" ,
2626 fit_id : "readonly" ,
2727 it_only_db : "readonly" ,
28+ fit_only_db : "readonly" ,
2829 it_only_mongodb_version : "readonly" ,
2930 it_only_postgres_version : "readonly" ,
3031 it_only_node_version : "readonly" ,
Original file line number Diff line number Diff line change @@ -515,6 +515,17 @@ global.it_only_db = db => {
515515 }
516516} ;
517517
518+ global . fit_only_db = db => {
519+ if (
520+ process . env . PARSE_SERVER_TEST_DB === db ||
521+ ( ! process . env . PARSE_SERVER_TEST_DB && db == 'mongo' )
522+ ) {
523+ return fit ;
524+ } else {
525+ return xit ;
526+ }
527+ } ;
528+
518529global . it_only_mongodb_version = version => {
519530 if ( ! semver . validRange ( version ) ) {
520531 throw new Error ( 'Invalid version range' ) ;
You can’t perform that action at this time.
0 commit comments