From 5120dca6b1406459f3730955aba2a60cc42049c1 Mon Sep 17 00:00:00 2001 From: Travis Hoover Date: Tue, 13 Aug 2019 14:38:10 -0700 Subject: [PATCH] Fixing tests --- .gitignore | 4 +++- package.json | 4 ++-- test/fixtures/project-ts/tsconfig.json | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 test/fixtures/project-ts/tsconfig.json diff --git a/.gitignore b/.gitignore index ae2cd639..15f4e237 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ /npm-debug.log /test/multidep /test/fixtures/project/dist -/dist \ No newline at end of file +/dist + +yarn-error.log \ No newline at end of file diff --git a/package.json b/package.json index c04fc8ad..404d414b 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "lint:fix": "eslint --fix lib test", "prepare": "yarn build", "pretest": "multidep test/multidep.json", - "test": "mocha", - "test:debug": "mocha --inspect-brk", + "test": "yarn build && mocha", + "test:debug": "yarn build && mocha --inspect-brk", "watch": "tsc --watch" }, "dependencies": { diff --git a/test/fixtures/project-ts/tsconfig.json b/test/fixtures/project-ts/tsconfig.json new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/test/fixtures/project-ts/tsconfig.json @@ -0,0 +1 @@ +{} \ No newline at end of file