I'm trying to use Jest but whenever I do npm test
I get errors. I tried Googling didn't find any solution
Macbook-2:JSProj abhimanyuaryan$ npm test
> jsproj@1.0.0 test /Users/abhimanyuaryan/Desktop/JSProj
> jest
2018-05-08T12:40:57,551: [cli] Failed to open /Users/abhim
anyuaryan/Library/LaunchAgents/com.github.facebook.watchma
n.plist for write: Not a directory
Watchman: watchman --no-pretty get-sockname returned with
exit code=null, signal=SIGABRT, stderr= 2018-05-08T12:40:
57,551: [cli] Failed to open /Users/abhimanyuaryan/Library
/LaunchAgents/com.github.facebook.watchman.plist for write
: Not a directory