packages/dufl/commands/test.js
// Remove this as soon as it's fixed in Jest.
Remove this as soon as it's fixed in Jest.
Remove this as soon as it ' s fixed in Jest .
function resolveJestDefaultEnvironment(name) {
    const jestDir = path.dirname(
      resolve.sync('jest', {
        basedir: __dirname,
      }),
    );
    const jestCLIDir = path.dirname(
      resolve.sync('jest-cli', {
        basedir: jestDir,
      }),
    );
    const jestConfigDir = path.dirname(
      resolve.sync('jest-config', {
        basedir: jestCLIDir,
      }),
    );
    return resolve.sync(name, {
      basedir: jestConfigDir,
    });
  }
function resolveJestDefaultEnvironment ( name ) { const jestDir = path . dirname ( resolve . sync ( 'jest' , { basedir : __dirname , } ) , ) ; const jestCLIDir = path . dirname ( resolve . sync ( 'jest-cli' , { basedir : jestDir , } ) , ) ; const jestConfigDir = path . dirname ( resolve . sync ( 'jest-config' , { basedir : jestCLIDir , } ) , ) ; return resolve . sync ( name , { basedir : jestConfigDir , } ) ; }
Remove this as soon as it's fixed in Jest.
Remove this as soon as it ' s fixed in Jest .