Chromium Code Reviews| Index: remoting/webapp/js_proto/qunit_proto.js |
| diff --git a/remoting/webapp/js_proto/qunit_proto.js b/remoting/webapp/js_proto/qunit_proto.js |
| index 8eb96452f3a29176ff3393156f14a0fbad227fb6..e9526d2d196b5b7504ffb67f2d28346cf81ce140 100644 |
| --- a/remoting/webapp/js_proto/qunit_proto.js |
| +++ b/remoting/webapp/js_proto/qunit_proto.js |
| @@ -49,10 +49,18 @@ QUnit.equal = function(a, b, opt_message) {}; |
| QUnit.expect = function(a) {}; |
| /** |
| + * @typedef {{ |
| + * beforeEach: function(void), |
|
Jamie
2015/03/17 17:57:16
Is it not valid to omit beforeEach?
kelvinp
2015/03/17 18:13:58
Done.
|
| + * afterEach: (function(void) | undefined) |
| + * }} |
| + */ |
| +QUnit.ModuleArgs; |
| + |
| +/** |
| * @param {string} desc |
| - * @param {Object=} dict |
| + * @param {QUnit.ModuleArgs=} opt_args= |
| */ |
| -QUnit.module = function(desc, dict) {}; |
| +QUnit.module = function(desc, opt_args) {}; |
| /** |
| * @param {*} a |
| @@ -68,11 +76,9 @@ QUnit.notEqual = function(a, b, opt_desc) {}; |
| */ |
| QUnit.ok = function(cond, desc) {}; |
| -QUnit.start = function() {}; |
| - |
| /** |
| * @param {string} desc |
| - * @param {Function} f |
| + * @param {function(QUnit.Assert=)} f |
| */ |
| QUnit.test = function(desc, f) {}; |
| @@ -88,11 +94,3 @@ QUnit.Assert = function() {}; |
| * @return {function():void} |
| */ |
| QUnit.Assert.prototype.async = function() {}; |
| - |
| -var deepEqual = QUnit.deepEqual; |
| -var equal = QUnit.equal; |
| -var expect = QUnit.expect; |
| -var module = QUnit.module; |
| -var notEqual = QUnit.notEqual; |
| -var ok = QUnit.ok; |
| -var test = QUnit.test; |