すべての必要なパッケージ(npm install/bower install)をインストールした後にjestを実行しようとすると、必要なパッケージはすべてpackage.jsonにあります。冗談 - (私は冗談のバージョンを変更しようとしている)Jest -UnhandledPromiseRejection TypeErrorパスは文字列でなければなりません
Using Jest CLI v0.7.1
(node:9212) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Path must be a string. Received [//path of the file]
私は、アプリケーションを実行しようとした:私は一口を実行したときには、私は次の取得に役立つ:
Unhandled promise rejection (rejection id: 3): TypeError: $.ajax is not a function
は関連のこれら2つのエラーです。 参考のために、次のファイルを使用してください:
1)完全なソースコードイムエラーは任意の助け https://www.dropbox.com/s/v45wlizc47f8kbc/JestAjaxfunction_PromiseRejection.wmv?dl=0
感謝を示しているかの
https://www.dropbox.com/sh/mc3j9k4qetz7dsm/AADOgMl7AQov0BDzhDDvKdzva?dl=0
2)スクリーンキャストを使用して、 Naveen