Add Karma tests for ResourceType.js
Add Karma tests for ResourceType.js

This CL attempts to cover ResourceType.js
file with Karma tests.

Change-Id: Ie0dc497d8bb753a6864dbc20666a7069c4815962
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1883716
Commit-Queue: Almothana Athamneh <706f26a62e50fed4f186b9ee03c9abd1857b411a@google.com>
Reviewed-by: Paul Lewis <8915f5d5c39a08c5a3e8a8d7314756e4580816f9@chromium.org>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend