From eea2430e9f09a423b6a79859d1927d72f4420ccf Mon Sep 17 00:00:00 2001
From: librelois <elois@ifee.fr>
Date: Mon, 4 May 2020 21:29:57 +0200
Subject: [PATCH] [build] yarn test now plays rust tests (in addition to
 typescript tests)

---
 package.json | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index b3a379da2..6613400b4 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,9 @@
     "tsc": "tsc",
     "tscw": "tsc -w",
     "doc": "typedoc --out typedoc/ index.ts app/ --mode file --readme README.md --includeDeclarations --sourcefile-url-prefix \"https://git.duniter.org/nodes/typescript/duniter/blob/loki/\"",
-    "test": "nyc --reporter html mocha",
+    "test": "cargo test --all && nyc --reporter html mocha",
+    "test:rs": "cargo test --all",
+    "test:ts": "nyc --reporter html mocha",
     "start": "node bin/duniter start",
     "build": "./neon/build.sh && cd.. && tsc && cd \"../node_modules/duniter-ui\" && npm install && npm run build",
     "install": "./neon/build.sh",
-- 
GitLab