Skip to content
  • yuuji.yaginuma's avatar
    cd34f006
    Install JavaScript packages before run test · cd34f006
    yuuji.yaginuma authored
    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.
    cd34f006
    Install JavaScript packages before run test
    yuuji.yaginuma authored
    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.
Loading