We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db94a73 commit 5e503d1Copy full SHA for 5e503d1
spec/.eslintrc.json
@@ -14,6 +14,7 @@
14
"Container": true,
15
"equal": true,
16
"notEqual": true,
17
+ "it_only_db": true,
18
"it_exclude_dbs": true,
19
"describe_only_db": true,
20
"describe_only": true,
spec/helper.js
@@ -408,6 +408,14 @@ global.it_exclude_dbs = excluded => {
408
}
409
410
411
+global.it_only_db = db => {
412
+ if (process.env.PARSE_SERVER_TEST_DB === db) {
413
+ return it;
414
+ } else {
415
+ return xit;
416
+ }
417
+};
418
+
419
global.fit_exclude_dbs = excluded => {
420
if (excluded.indexOf(process.env.PARSE_SERVER_TEST_DB) >= 0) {
421
return xit;
0 commit comments