回答編集履歴
1
変更点、DOMContentLoaded ha
answer
CHANGED
@@ -4,4 +4,6 @@
|
|
4
4
|
テストプログラム中にトリガーすることで
|
5
5
|
https://stackoverflow.com/questions/43083419/karma-mocha-how-to-test-method-that-listens-to-domcontentloaded-event
|
6
6
|
|
7
|
-
上手くいきました。
|
7
|
+
上手くいきました。
|
8
|
+
|
9
|
+
あ、ただDOMContentLoadはどうしても上手くいかなかったので、読み込みのタイミングをloadにしました。
|