summaryrefslogtreecommitdiff
path: root/platform/node/test/query.test.js
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-07-12 13:40:32 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-07-12 14:33:38 -0700
commitfbbc8f2d7ae461c1004a1bc69ff8451f4ca35fc1 (patch)
treee0ece04776058c7ada0152d578c69f8d5e7a6585 /platform/node/test/query.test.js
parent7abbe32325c5e345002858231681f369937574be (diff)
downloadqtlocation-mapboxgl-fbbc8f2d7ae461c1004a1bc69ff8451f4ca35fc1.tar.gz
[tests] Local ignores.json file for ignored integration tests
Diffstat (limited to 'platform/node/test/query.test.js')
-rw-r--r--platform/node/test/query.test.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/platform/node/test/query.test.js b/platform/node/test/query.test.js
index 8125f1c7cd..02602d3f5a 100644
--- a/platform/node/test/query.test.js
+++ b/platform/node/test/query.test.js
@@ -1,12 +1,13 @@
'use strict';
-var suite = require('../../../mapbox-gl-js/test/integration').query;
-var suiteImplementation = require('./suite_implementation');
+const suite = require('../../../mapbox-gl-js/test/integration').query;
+const suiteImplementation = require('./suite_implementation');
+const ignores = require('./ignores.json');
-var tests;
+let tests;
if (process.argv[1] === __filename && process.argv.length > 2) {
tests = process.argv.slice(2);
}
-suite.run('native', {tests: tests}, suiteImplementation);
+suite.run('native', {tests: tests, ignores: ignores}, suiteImplementation);