aboutsummaryrefslogtreecommitdiff
path: root/js/commonjs/export_asserts.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/commonjs/export_asserts.js')
-rw-r--r--js/commonjs/export_asserts.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/js/commonjs/export_asserts.js b/js/commonjs/export_asserts.js
index 16abdd7d..9b823d3c 100644
--- a/js/commonjs/export_asserts.js
+++ b/js/commonjs/export_asserts.js
@@ -1,11 +1,17 @@
/**
- * @fileoverview Description of this file.
+ * @fileoverview Exports symbols needed only by tests.
+ *
+ * This file exports several Closure Library symbols that are only
+ * used by tests. It is used to generate a file
+ * closure_asserts_commonjs.js that is only used at testing time.
*/
goog.require('goog.testing.asserts');
var global = Function('return this')();
+// All of the closure "assert" functions are exported at the global level.
+//
// The Google Closure assert functions start with assert, eg.
// assertThrows
// assertNotThrows