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

Side by Side Diff: polymer_0.5.4/bower_components/web-animations-js/test/runner.js

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 var WEB_ANIMATIONS_TESTING = true; 1 var WEB_ANIMATIONS_TESTING = true;
2 var webAnimationsTesting = window; 2 var webAnimationsTesting = window;
3 var assert = chai.assert; 3 var assert = chai.assert;
4 mocha.setup({ ui: 'tdd' }); 4 mocha.setup({ ui: 'tdd' });
5 5
6 function loadWebAnimationsBuildTarget(target) { 6 function loadWebAnimationsBuildTarget(target) {
7 var config = webAnimationsTargetConfig[target]; 7 var config = webAnimationsTargetConfig[target];
8 config.src.concat(config.test).forEach(function(file) { 8 config.src.concat(config.test).forEach(function(file) {
9 document.write('<script src="../' + file + '"></script>\n'); 9 document.write('<script src="../' + file + '"></script>\n');
10 }); 10 });
(...skipping 15 matching lines...) Expand all
26 test('no script errors on page', function() { 26 test('no script errors on page', function() {
27 assert.fail(null, null, pageError); 27 assert.fail(null, null, pageError);
28 }); 28 });
29 }); 29 });
30 } 30 }
31 31
32 mocha.run(); 32 mocha.run();
33 }); 33 });
34 34
35 })(); 35 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698