[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-backoffice] 02/02: manually mocking document
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-backoffice] 02/02: manually mocking document |
Date: |
Tue, 09 Jan 2018 11:24:15 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository backoffice.
commit f1bcb9feabc0820e8c76545b753fe6afe8dde747
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jan 9 11:24:00 2018 +0100
manually mocking document
---
js/test/main.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/js/test/main.js b/js/test/main.js
index f45ac9d..7f5a85b 100644
--- a/js/test/main.js
+++ b/js/test/main.js
@@ -1,4 +1,9 @@
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