問題タブ [ng-html2js]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
212 参照

angularjs - ng-html2js を使用した AngularJS コンポーネントのテスト

誰かがその問題を手伝ってくれますか:

角度プロジェクト:

gui_service/client/src/js/remoteGuiApp.js:

gui_service/client/src/modules/login/login.js

また、このコンポーネントの「/src/modules/login/login.html」テンプレートがあります。

gui_service/client/test/karma.conf

そして最後に私の問題点: gui_service/client/test/LoginComponent-test.js:

カルマを起動した結果、次のようなエラーが発生しました: angular link error

多分誰かがこの問題の解決策を教えてくれるでしょう。ご協力いただきありがとうございます。