Index: polymer_1.0.4/bower_components/ga-api-utils/test/account-summaries/fixtures/index.js |
diff --git a/polymer_1.0.4/bower_components/ga-api-utils/test/account-summaries/fixtures/index.js b/polymer_1.0.4/bower_components/ga-api-utils/test/account-summaries/fixtures/index.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1673d68189d10a42d16f014f169a292028353995 |
--- /dev/null |
+++ b/polymer_1.0.4/bower_components/ga-api-utils/test/account-summaries/fixtures/index.js |
@@ -0,0 +1,33 @@ |
+// Copyright 2015 Google Inc. All rights reserved. |
+// |
+// Licensed under the Apache License, Version 2.0 (the "License"); |
+// you may not use this file except in compliance with the License. |
+// You may obtain a copy of the License at |
+// |
+// http://www.apache.org/licenses/LICENSE-2.0 |
+// |
+// Unless required by applicable law or agreed to in writing, software |
+// distributed under the License is distributed on an "AS IS" BASIS, |
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
+// See the License for the specific language governing permissions and |
+// limitations under the License. |
+ |
+ |
+var accountSummariesFixtureWithAccounts = |
+ require('./account-summaries-with-accounts'); |
+ |
+var accountSummariesFixtureWithoutAccounts = |
+ require('./account-summaries-without-accounts'); |
+ |
+var currentFixture = accountSummariesFixtureWithAccounts; |
+ |
+module.exports = { |
+ get: function() { |
+ return JSON.parse(JSON.stringify(currentFixture)); |
+ }, |
+ set: function(choice) { |
+ currentFixture = (choice == 'with-accounts') ? |
+ accountSummariesFixtureWithAccounts : |
+ accountSummariesFixtureWithoutAccounts; |
+ } |
+}; |