From e4fb5581de4e9c51c5e8e1a10aaaa3988c494b5e Mon Sep 17 00:00:00 2001
From: matthew <matt@sportraxs.com>
Date: Thu, 22 Nov 2018 17:09:04 +0200
Subject: [PATCH] chore: reenable integration tests

---
 circle.yml   | 3 +--
 package.json | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/circle.yml b/circle.yml
index c27aba5e..5e44963e 100644
--- a/circle.yml
+++ b/circle.yml
@@ -8,8 +8,7 @@ test:
     - npm run lint
     - XUNIT_FILE=${CIRCLE_TEST_REPORTS}/mocha.xml npm test --coverage -- -R spec-xunit-file
     # Run integration test suite
-    # TODO: Re-enable integration tests once they are updated for ILPv4
-    # - if git log -1 --pretty=%B | grep -qF "[skip tests]"; then true; else npm run integration; fi
+    - if git log -1 --pretty=%B | grep -qF "[skip tests]"; then true; else npm run integration; fi
   post:
     - npm run report-coverage
 deployment:
diff --git a/package.json b/package.json
index 95f71aaa..9458aff8 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
     "lint": "tslint --project . && eslint test/",
     "test": "nyc mocha",
     "report-coverage": "nyc report --reporter=json && codecov -f coverage/*.json",
-    "integration": "integration-loader && integration all",
+    "integration": "integration-loader && integration all -- --exit",
     "commitmsg": "commitlint -e $GIT_PARAMS"
   },
   "engines": {