From 33eb236f985d14bd67081e3b6b8904f7cf6bd35a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr>
Date: Wed, 17 Feb 2021 15:07:44 +0100
Subject: [PATCH] =?UTF-8?q?test:=20corrige=20la=20compilation=20du=20code?=
 =?UTF-8?q?=20g=C3=A9n=C3=A9r=C3=A9.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 package.json                | 2 +-
 tests/Fixtures/models       | 1 +
 tests/Fixtures/package.json | 3 +++
 3 files changed, 5 insertions(+), 1 deletion(-)
 create mode 120000 tests/Fixtures/models

diff --git a/package.json b/package.json
index 6659d14..ba70b36 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
     "lint": "eslint --fix '{src,tests}/**/*.{js,ts}' --quiet --fix",
     "test": "jest",
     "test:lint": "eslint '{src,tests}/**/*.{js,ts}'",
-    "test:compile-generated": "cd tests/Fixtures && npm install && tsc --pretty"
+    "test:compile-generated": "cd tests/Fixtures && npm install && npm run-script build"
   },
   "repository": {
     "type": "git",
diff --git a/tests/Fixtures/models b/tests/Fixtures/models
new file mode 120000
index 0000000..8eb2588
--- /dev/null
+++ b/tests/Fixtures/models
@@ -0,0 +1 @@
+../../output
\ No newline at end of file
diff --git a/tests/Fixtures/package.json b/tests/Fixtures/package.json
index 1e5be86..d4785fd 100644
--- a/tests/Fixtures/package.json
+++ b/tests/Fixtures/package.json
@@ -2,5 +2,8 @@
   "name": "ng-model-generator-test",
   "dependencies": {
     "irstea-ng-model": "file:../.."
+  },
+  "scripts": {
+    "build": "tsc --pretty -noEmit"
   }
 }
-- 
GitLab