Skip to content

Commit

Permalink
High contrast mode (#20)
Browse files Browse the repository at this point in the history
* 27039 Update Stream Graph to API 1.13 [Update Stream Graph to support high contrast mode]
* 27040 Update Stream Graph to support high contrast mode [Update Stream Graph to support high contrast mode]
* 27041 Cover changes by UTs [Update Stream Graph to support high contrast mode]
  • Loading branch information
ignatvilesov committed Jul 9, 2018
1 parent 92a0a67 commit 5bf897e
Show file tree
Hide file tree
Showing 16 changed files with 9,623 additions and 123 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ sudo: required
dist: trusty
language: node_js
node_js:
- "8"
- "10"
addons:
chrome: stable
before_install:
- export CHROME_BIN=google-chrome-stable
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install
script:
Expand Down
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
"fileMatch": [
"/pbiviz.json"
],
"url": "./.api/v1.11.0/schema.pbiviz.json"
"url": "./.api/v1.13.0/schema.pbiviz.json"
},
{
"fileMatch": [
"/capabilities.json"
],
"url": "./.api/v1.11.0/schema.capabilities.json"
"url": "./.api/v1.13.0/schema.capabilities.json"
},
{
"fileMatch": [
"/dependencies.json"
],
"url": "./.api/v1.11.0/schema.dependencies.json"
"url": "./.api/v1.13.0/schema.dependencies.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
39 changes: 15 additions & 24 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,17 @@

'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';
const coverageFolder = 'coverage';

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 Expand Up @@ -91,9 +79,12 @@ module.exports = (config) => {
},
coverageReporter: {
dir: coverageFolder,
reporters: [
{ type: 'html' },
{ type: 'lcov' }
reporters: [{
type: 'html'
},
{
type: 'lcov'
}
]
},
remapIstanbulReporter: {
Expand All @@ -104,4 +95,4 @@ module.exports = (config) => {
}
}
});
};
};

0 comments on commit 5bf897e

Please sign in to comment.