diff --git a/libraries/Iridium/settings/__snapshots__/types.test.ts.snap b/libraries/Iridium/settings/__snapshots__/types.test.ts.snap new file mode 100644 index 0000000000..695d8d68b5 --- /dev/null +++ b/libraries/Iridium/settings/__snapshots__/types.test.ts.snap @@ -0,0 +1,96 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Test Iridium/settings/types should return default keybinds 1`] = ` +Object { + "callActiveChat": "alt+c", + "openSettings": "alt+s", + "toggleDeafen": "alt+d", + "toggleMute": "alt+m", +} +`; + +exports[`Test Iridium/settings/types should return default sounds 1`] = ` +Object { + "call": true, + "connected": true, + "deafen": true, + "hangup": true, + "mute": true, + "newMessage": true, + "undeafen": true, + "unmute": true, + "upload": true, +} +`; + +exports[`Test Iridium/settings/types should return flairs 1`] = ` +Object { + "deepBlue": Object { + "name": "Deep Blue", + "primary": "#30336b", + "primaryRGB": "48, 51, 107", + "secondary": "#2d328a", + }, + "lavender": Object { + "name": "Lavender", + "primary": "#9980fa", + "primaryRGB": "153, 128, 250", + "secondary": "#a891ff", + }, + "lime": Object { + "name": "Lime", + "primary": "#a3cb38", + "primaryRGB": "163, 203, 56", + "secondary": "#aed542", + }, + "peach": Object { + "name": "Peach", + "primary": "#ed4c67", + "primaryRGB": "237, 76, 103", + "secondary": "#ed5672", + }, + "pink": Object { + "name": "Pink", + "primary": "#fda7df", + "primaryRGB": "253, 167, 223", + "secondary": "#fdb1e9", + }, + "purple": Object { + "name": "Purple", + "primary": "#6f1e51", + "primaryRGB": "111, 30, 81", + "secondary": "#80215d", + }, + "satellite": Object { + "name": "Satellite", + "primary": "#2761fd", + "primaryRGB": "39, 97, 253", + "secondary": "#286cfe", + }, + "sunflower": Object { + "name": "Sunflower", + "primary": "#ffc312", + "primaryRGB": "255, 195, 18", + "secondary": "#faca3e", + }, + "void": Object { + "name": "Void", + "primary": "#2c3a47", + "primaryRGB": "44, 58, 71", + "secondary": "#36434f", + }, +} +`; + +exports[`Test Iridium/settings/types should return languages 1`] = ` +Object { + "en_US": "English (USA)", +} +`; + +exports[`Test Iridium/settings/types should return themes 1`] = ` +Object { + "default": "Default", + "moonlessNight": "Moonless Night", +} +`; diff --git a/libraries/Iridium/settings/types.test.ts b/libraries/Iridium/settings/types.test.ts new file mode 100644 index 0000000000..d452201cd9 --- /dev/null +++ b/libraries/Iridium/settings/types.test.ts @@ -0,0 +1,23 @@ +import * as module from './types' + +describe('Test Iridium/settings/types', () => { + it('should return themes', () => { + expect(module.themes).toMatchSnapshot() + }) + + it('should return flairs', () => { + expect(module.flairs).toMatchSnapshot() + }) + + it('should return languages', () => { + expect(module.languages).toMatchSnapshot() + }) + + it('should return default sounds', () => { + expect(module.defaultSounds).toMatchSnapshot() + }) + + it('should return default keybinds', () => { + expect(module.defaultKeybinds).toMatchSnapshot() + }) +})