Skip to content
Browse files


  • Loading branch information
alannawalton committed Jul 6, 2017
1 parent d71ba5a commit bdbab788e08f45889aaf6aa08acbda4c8990f8fa
Showing with 12 additions and 14 deletions.
  1. +1 −3 karma.conf.js
  2. +1 −0 package.json
  3. +1 −1 readiness-tool/popup.js
  4. +9 −10 tests/popup-test.js
@@ -30,14 +30,12 @@ module.exports = {
'src/**/*.js': ['browserify'],
'tests/**/*.js': ['browserify'],

browserify: {
watch: true,
debug: true,
transform: ['babelify'],
transform: [ ['babelify', {presets: ["es2015"]}] ],
bundleDelay: 900,

port: 9876,
colors: true,
logLevel: process.env.TRAVIS ? 'ERROR' : 'WARN',
@@ -55,6 +55,7 @@
"mocha": "^2.5.3",
"sinon": "^2.3.6",
"sinon-chai": "^2.11.0",
"sinon-chrome": "^2.2.1",
"supertest": "^1.1.0",
"watchify": "^3.9.0"
@@ -142,7 +142,7 @@ function doesRegexExist(regexString, htmlString) {
* @param {String} key - name of app
* @return {boolean}
function isSupported(key) {
export function isSupported(key) {
var ampSupported = ["A8", "A9", "AcccessTrade", "Adblade", "Adform", "Adfox", "Ad Generation", "Adhese", "ADITION", "Adman", "AdmanMedia", "AdReactor", "AdSense", "AdsNative", "AdSpirit", "AdSpeed", "AdStir", "AdTech", "AdThrive", "Ad Up Technology", "Adverline", "Adverticum", "AdvertServe", "Affiliate-B", "AMoAd", "AppNexus", "Atomx", "Bidtellect", "brainy", "CA A.J.A. Infeed", "CA-ProFit-X", "Chargeads", "Colombia", "", "Criteo", "CSA", "CxenseDisplay", "Dianomi", "DistroScale", "Dot and Media", "Doubleclick", "DoubleClick for Publishers (DFP)", "DoubleClick Ad Exchange (AdX)", "E-Planning", "Ezoic", "FlexOneELEPHANT", "FlexOneHARRIER", "fluct", "Felmat", "Flite", "Fusion", "Google AdSense", "GenieeSSP", "GMOSSP", "GumGum", "Holder", "Imedia", "I-Mobile", "iBillboard", "Improve Digital", "Index Exchange", "Industrybrains", "InMobi", "Kargo", "Kiosked", "Kixer", "Ligatus", "LOKA", "MADS", "MANTIS", "MediaImpact", "", "Mediavine", "Meg", "MicroAd", "Mixpo", "myWidget", "Nativo", "Navegg", "Nend", "NETLETIX", "Nokta", "Open AdStream (OAS)", "OpenX", "plista", "polymorphicAds", "popin", "PubMatic", "Pubmine", "PulsePoint", "Purch", "Rambler&Co", "Relap", "Revcontent", "Rubicon Project", "Sharethrough", "Sklik", "SlimCut Media", "Smart AdServer", "smartclip", "Sortable", "SOVRN", "SpotX", "SunMedia", "Swoop", "Teads", "TripleLift", "ValueCommerce", "Webediads", "Weborama", "Widespace", "Xlift", "Yahoo", "YahooJP", "Yandex", "Yieldbot", "Yieldmo", "Yieldone", "Zedo", "Zucks", "Bringhub", "Outbrain", "Taboola", "ZergNet", "Acquia Lift", "Adobe Analytics", "AFS Analytics", "AT Internet", "Baidu Analytics", "Burt", "Chartbeat", "Clicky Web Analytics", "comScore", "Cxense", "Dynatrace", "Eulerian Analytics", "Gemius", "Google AdWords", "Google Analytics", "INFOnline / IVW", "Krux", "Linkpulse", "Lotame", "Médiamétrie", "mParticle", "Nielsen", "OEWA", "Parsely", "Piano", "Quantcast Measurement", "Segment", "SOASTA mPulse", "SimpleReach", "Snowplow Analytics", "Webtrekk", "Yandex Metrica"];

//If it is NOT in list of supported apps
@@ -13,17 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
const chrome = require('sinon-chrome/extensions');

describe('test', function() {
import {
} from '../readiness-tool/popup';

it('should pass', function() {

describe('isSupported(key)', function() {

it('should return true when the key given is in the supported list', function() {
describe('isSupported(key)', function () {
it('should return true when the key given is in the supported list', function () {

0 comments on commit bdbab78

Please sign in to comment.
You can’t perform that action at this time.