[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-backoffice] 01/02: toy-ish js test
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-backoffice] 01/02: toy-ish js test |
Date: |
Tue, 09 Jan 2018 11:24:14 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository backoffice.
commit dbaff7f5aa1fe238223c327a849ebb77394cfee8
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jan 9 10:23:53 2018 +0100
toy-ish js test
---
.gitignore | 1 +
Makefile.in | 2 +-
js/test/main.js | 5 +++++
3 files changed, 7 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..f45ac9d 100644
--- a/js/test/main.js
+++ b/js/test/main.js
@@ -0,0 +1,5 @@
+const ava = require("ava");
+
+ava.test("back-office is responsive", (t) => {
+ t.pass();
+})
--
To stop receiving notification emails like this one, please contact
address@hidden