Move mocking of json file reading inside `setup`
Move mocking of json file reading inside `setup`

Before, any changes you made to e.g. packageDependencies had no effect
in the subject method.

trotzig/import-js,trotzig/import-js,trotzig/import-js,Galooshi/import-js