[tests] Local ignores.json file for ignored integration tests
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
var suite = require('../../../mapbox-gl-js/test/integration').render;
|
||||
var suiteImplementation = require('./suite_implementation');
|
||||
const suite = require('../../../mapbox-gl-js/test/integration').render;
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user