Write tests for TextDictionary.js
Write tests for TextDictionary.js

This CL attempts to cover TextDictionary.js
with tests to help with debugging and releases

Change-Id: If733cc1c2baa2ab3006a40605ecb983b154c3e87
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1841634
Reviewed-by: Yang Guo <1cf0af8245a3a17a632a2c73531392b0f9761c76@chromium.org>
Reviewed-by: Paul Lewis <8915f5d5c39a08c5a3e8a8d7314756e4580816f9@chromium.org>
Commit-Queue: Almothana Athamneh <706f26a62e50fed4f186b9ee03c9abd1857b411a@google.com>
Cr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#704179}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a529449a72a495cc5ea7a40b37e70da996ede29b

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