gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-backoffice] branch master updated (500134d -> f1bcb9


From: gnunet
Subject: [GNUnet-SVN] [taler-backoffice] branch master updated (500134d -> f1bcb9f)
Date: Tue, 09 Jan 2018 11:24:13 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a change to branch master
in repository backoffice.

    from 500134d  check js via makefile
     new dbaff7f  toy-ish js test
     new f1bcb9f  manually mocking document

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore      |  1 +
 Makefile.in     |  2 +-
 js/test/main.js | 10 ++++++++++
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 283f2eb..82e1f39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ talerbackoffice/backoffice/__pycache__/
 backoffice.wsgi
 taler-merchant-backoffice
 js/node_modules/
+js/yarn.lock
diff --git a/Makefile.in b/Makefile.in
index 04df657..56e4e1f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -24,7 +24,7 @@ $(script_templates): %: Makefile %.in
 .PHONY: check-js
 check-js:
        @cd js; yarn install
-       @$(ava) js/node_modules/.bin/ava js/test/index.js
+       @$(ava) js/node_modules/.bin/ava js/test/main.js
 
 .PHONY: install-js
 install-js:
diff --git a/js/test/main.js b/js/test/main.js
index e69de29..7f5a85b 100644
--- a/js/test/main.js
+++ b/js/test/main.js
@@ -0,0 +1,10 @@
+const ava = require("ava");
+const sinon = require("sinon");
+
+var document = global.document = {};
+document.addEventListener = function(){};
+const bo = require("../backoffice");
+
+ava.test("back-office is responsive", (t) => {
+  t.pass();
+})

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]