Skip to content

Commit

Permalink
High contrast mode (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatvilesov authored Jul 6, 2018
1 parent 8ec4345 commit 3b236b2
Show file tree
Hide file tree
Showing 12 changed files with 9,955 additions and 87 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ sudo: required
dist: trusty
language: node_js
node_js:
- "7"
before_install:
- export CHROME_BIN=google-chrome-stable
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- "10"
install:
- npm install
script:
Expand Down
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"fileMatch": [
"/pbiviz.json"
],
"url": "./.api/v1.7.0/schema.pbiviz.json"
"url": "./.api/v1.13.0/schema.pbiviz.json"
},
{
"fileMatch": [
"/capabilities.json"
],
"url": "./.api/v1.7.0/schema.capabilities.json"
"url": "./.api/v1.13.0/schema.capabilities.json"
}
]
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.7.0
* High contrast mode
* API 1.13.0

## 1.6.0
* Added localization for all supported languages

Expand Down
27 changes: 7 additions & 20 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,16 @@

'use strict';

const recursivePathToTests = 'test/**/*.ts'
, srcRecursivePath = '.tmp/drop/visual.js'
, srcCssRecursivePath = '.tmp/drop/visual.css'
, srcOriginalRecursivePath = 'src/**/*.ts'
, coverageFolder = 'coverage';
const recursivePathToTests = 'test/**/*.ts';
const srcRecursivePath = '.tmp/drop/visual.js';
const srcCssRecursivePath = '.tmp/drop/visual.css';
const srcOriginalRecursivePath = 'src/**/*.ts';

module.exports = (config) => {
const browsers = [];

if (process.env.TRAVIS) {
browsers.push('ChromeTravisCI');
} else {
browsers.push('Chrome');
}
process.env.CHROME_BIN = require('puppeteer').executablePath();

module.exports = (config) => {
config.set({
browsers,
customLaunchers: {
ChromeTravisCI: {
base: 'Chrome',
flags: ['--no-sandbox']
}
},
browsers: ['ChromeHeadless'],
colors: true,
frameworks: ['jasmine'],
reporters: [
Expand Down
Loading

0 comments on commit 3b236b2

Please sign in to comment.