Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4179)

Unified Diff: bower_components/polymer-test-tools/chai/karma.sauce.js

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: bower_components/polymer-test-tools/chai/karma.sauce.js
diff --git a/bower_components/polymer-test-tools/chai/karma.sauce.js b/bower_components/polymer-test-tools/chai/karma.sauce.js
deleted file mode 100644
index c116b87e57b2d582be4abd0c6bd82ce042fc929c..0000000000000000000000000000000000000000
--- a/bower_components/polymer-test-tools/chai/karma.sauce.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * @license
- * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
- * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
- * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
- * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
- * Code distributed by Google as part of the polymer project is also
- * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
- */
-
-var version = require('./package.json').version;
-var ts = new Date().getTime();
-
-module.exports = function(config) {
- var auth;
-
- try {
- auth = require('./test/auth/index');
- } catch(ex) {
- auth = {};
- auth.SAUCE_USERNAME = process.env.SAUCE_USERNAME || null;
- auth.SAUCE_ACCESS_KEY = process.env.SAUCE_ACCESS_KEY || null;
- }
-
- if (!auth.SAUCE_USERNAME || !auth.SAUCE_ACCESS_KEY) return;
- if (process.env.SKIP_SAUCE) return;
-
- var branch = process.env.TRAVIS_BRANCH || 'local'
- var browserConfig = require('./sauce.browsers');
- var browsers = Object.keys(browserConfig);
- var tags = [ 'chaijs_' + version, auth.SAUCE_USERNAME + '@' + branch ];
- var tunnel = process.env.TRAVIS_JOB_NUMBER || ts;
-
- if (process.env.TRAVIS_JOB_NUMBER) {
- tags.push('travis@' + process.env.TRAVIS_JOB_NUMBER);
- }
-
- config.browsers = config.browsers.concat(browsers);
- config.customLaunchers = browserConfig;
- config.reporters.push('saucelabs');
- config.transports = [ 'xhr-polling' ];
-
- config.sauceLabs = {
- username: auth.SAUCE_USERNAME
- , accessKey: auth.SAUCE_ACCESS_KEY
- , startConnect: true
- , tags: tags
- , testName: 'ChaiJS'
- , tunnelIdentifier: tunnel
- };
-};
« no previous file with comments | « bower_components/polymer-test-tools/chai/karma.conf.js ('k') | bower_components/polymer-test-tools/chai/package.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698