aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-09-23 20:54:11 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-09-23 20:56:37 +0900
commit414ca11ec94aa9f1f1700155cc6a17982fddbb7b (patch)
treea88c3f2ebb24e80627a7491625516daa57e6323e /.circleci
parenta45ba3c0722c9af6139b71de6cc4f5e9e1d6c9d0 (diff)
Fix tests on CI
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 1294557..342842d 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -63,6 +63,13 @@ jobs:
- checkout
- setup_npm
- run: npm run lint
+ - run:
+ # NOTE: Karma loads ts-node automatically and treats karma.conf.js as a TypeScript.
+ # Karma does not starts by karma.conf.js transpile failure, and this hack removes
+ # ts-node module from the local before test.
+ # See: https://github.com/karma-runner/karma/issues/3329
+ name: Remove node-ts from node_modules
+ command: mv node_modules/ts-node node_modules/ts-node.orig
- run: npm test
- run: npm run package