aboutsummaryrefslogtreecommitdiff
path: root/test/shared/settings/Search.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/shared/settings/Search.test.ts')
-rw-r--r--test/shared/settings/Search.test.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/shared/settings/Search.test.ts b/test/shared/settings/Search.test.ts
index 7c9134d..51cd3eb 100644
--- a/test/shared/settings/Search.test.ts
+++ b/test/shared/settings/Search.test.ts
@@ -26,19 +26,6 @@ describe('Search', () => {
});
it('throws a TypeError by invalid settings', () => {
- expect(() => Search.fromJSON(null)).to.throw(TypeError);
- expect(() => Search.fromJSON({})).to.throw(TypeError);
- expect(() => Search.fromJSON([])).to.throw(TypeError);
- expect(() => Search.fromJSON({
- default: 123,
- engines: {}
- })).to.throw(TypeError);
- expect(() => Search.fromJSON({
- default: 'google',
- engines: {
- 'google': 123456,
- }
- })).to.throw(TypeError);
expect(() => Search.fromJSON({
default: 'wikipedia',
engines: {