Cover TempFile.js with Karma Tests
Cover TempFile.js with Karma Tests

This CL attempts to cover the TempFile.js
file with Karma tests. Please note that
part of the code was not accessible because
it dealt with private variables only.

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

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