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.0/test/browser/ui.spec.js')
-rw-r--r--tests/lib/mocha-3.1.0/test/browser/ui.spec.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/lib/mocha-3.1.0/test/browser/ui.spec.js b/tests/lib/mocha-3.1.0/test/browser/ui.spec.js
new file mode 100644
index 0000000000..48236e9497
--- /dev/null
+++ b/tests/lib/mocha-3.1.0/test/browser/ui.spec.js
@@ -0,0 +1,31 @@
+// 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);
+ });
+});