aboutsummaryrefslogtreecommitdiffstats
path: root/railties/.gitignore
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-02-07 10:10:27 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2019-02-11 09:58:08 +0900
commitcd34f00627c35bec1cde9b154c7aeb453ea0789e (patch)
tree7e50cb57d45ca0cc1189aded1c8d6019d31ae333 /railties/.gitignore
parent9cc463ed7b7be098602b72a98f72220ea6466ba2 (diff)
downloadrails-cd34f00627c35bec1cde9b154c7aeb453ea0789e.tar.gz
rails-cd34f00627c35bec1cde9b154c7aeb453ea0789e.tar.bz2
rails-cd34f00627c35bec1cde9b154c7aeb453ea0789e.zip
Install JavaScript packages before run test
Some tests are running yarn install during the test. The directory used for isolation test is not subject to yarn workspace, and it occurs because the required package is not installed. In order to avoid this, I fixed all necessary packages to be installed before run test and use symlink to `node_modules`. This is a bit complicated, as `yarn install` needs to be run in a specific directory before running the test. However, running `yarn install` every time run the test is expensive when testing locally and should be avoided.
Diffstat (limited to 'railties/.gitignore')
-rw-r--r--railties/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/.gitignore b/railties/.gitignore
index c08562e016..17a49da08c 100644
--- a/railties/.gitignore
+++ b/railties/.gitignore
@@ -2,4 +2,5 @@
/test/500.html
/test/fixtures/tmp/
/test/initializer/root/log/
+/test/isolation/assets/yarn.lock
/tmp/