X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=package.json;h=78f545384302777447982bdba5985546d33c95af;hb=c56ab0725b926af522285d96a22f998f4f7c0c40;hp=12a12552bac70baab680dc499443c44351a4dc78;hpb=74c0a62db7e22aadfb5671dc240afc01982a15d9;p=alttp.git diff --git a/package.json b/package.json index 12a1255..78f5453 100644 --- a/package.json +++ b/package.json @@ -66,13 +66,27 @@ ], "env": { "jest": true - } + }, + "settings": { + "import/resolver": { + "node": { + "paths": [ + "resources/js" + ] + } + } + } } ] }, "jest": { + "moduleDirectories": [ + "node_modules", + "resources/js" + ], "roots": [ - "/resources/js" + "/resources/js", + "/tests/js" ], "setupFilesAfterEnv": [ "/resources/js/setup-jest.js"