Closed richardscarrott closed 9 years ago
I've now setup the example to use 'jest-webpack' as an installed package rather than just reaching into the parent dir.
Test Plan:
If running Node 0.10.x
cd example
npm install
npm install jest-cli@0.4
// to be compatible with Node 0.10.x (even with dep set to support 0.4 and 0.5 we still need to explicitly install it)
npm start
Expect: All tests to pass
if running Node 4.x.x
npm link
cd example
npm link jest-cli
// because current master won't install all on Node 4.x.x
npm install
npm start
Expect: All tests to pass
I think I need to use
peerDependencies
forjest-cli
as it must use the same version as the host application but last I read it was being deprecated...