The scaffolded happ has a JS client in the UI code and one in the test code. That can lead to differing versions for the clients and that in turn can result in type problems.
Refactor the scaffolded app so that only one version and instance of the JS client is used.
The scaffolded happ has a JS client in the UI code and one in the test code. That can lead to differing versions for the clients and that in turn can result in type problems.
Refactor the scaffolded app so that only one version and instance of the JS client is used.