diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-02-07 10:10:27 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-02-11 09:58:08 +0900 |
commit | cd34f00627c35bec1cde9b154c7aeb453ea0789e (patch) | |
tree | 7e50cb57d45ca0cc1189aded1c8d6019d31ae333 /activerecord/test/cases/unconnected_test.rb | |
parent | 9cc463ed7b7be098602b72a98f72220ea6466ba2 (diff) | |
download | rails-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 'activerecord/test/cases/unconnected_test.rb')
0 files changed, 0 insertions, 0 deletions