Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/mocha-3.1.2/test/browser/ui.spec.js')
-rw-r--r--tests/lib/mocha-3.1.2/test/browser/ui.spec.js33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/lib/mocha-3.1.2/test/browser/ui.spec.js b/tests/lib/mocha-3.1.2/test/browser/ui.spec.js
new file mode 100644
index 0000000000..159cab6d95
--- /dev/null
+++ b/tests/lib/mocha-3.1.2/test/browser/ui.spec.js
@@ -0,0 +1,33 @@
+'use strict';
+
+// test titles containing regex-conflicting characters
+
+// leading $
+describe('$.jQuery', function () {
+ // parens
+ describe('.on()', function () {
+ it('should set an event', function () {
+ assert(true);
+ });
+ });
+
+ describe('.off()', function () {
+ it('should remove an event', function () {
+
+ });
+ });
+});
+
+// another generic describe block to verify it is absent
+// when greeping on $.jQuery
+describe('@Array', function () {
+ it('.pop()', function () {
+ assert(true);
+ });
+ it('.push()', function () {
+ assert(true);
+ });
+ it('.length', function () {
+ assert(true);
+ });
+});