- jsdom needed for dom testing since browser api's are not available at node env.
- use jest facades for scala.js, since common js modules was not compatible with jsdomNodeEnv plugin for dom testing
- scala js development is not smooth as compared to typescript. it needs workaround at places to make it work.
- explore testing libraries
- scala-js-bundler can be used in place of writing jest facades to overcome the common js modules incompatibility issue.
- explore scalajs-webpack-loader plugin.