diff --git a/mock/tests/__snapshots__/groups.test.ts.snap b/mock/tests/__snapshots__/groups.test.ts.snap new file mode 100644 index 0000000000..0fd6ee8f7b --- /dev/null +++ b/mock/tests/__snapshots__/groups.test.ts.snap @@ -0,0 +1,37 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`init gets the constant 1`] = ` +Array [ + Object { + "address": "af2e998e-bc77-4fca-ac0d-561078488c93", + "creator": "0xdf9eb223bafbe5c5271415c75aecd68c21fe3d7f", + "members": Array [ + "0xdf9eb223bafbe5c5271415c75aecd68c21fe3d7f", + "0x07ee55aa48bb72dcc6e9d78256648910de513eca", + ], + "motd": "Chatting privately with the world", + "name": "Satellite", + }, + Object { + "address": "bd30dd29-402a-46de-90f4-3ef78f4d0f7c", + "creator": "0x07ee55aa48bb72dcc6e9d78256648910de513eca", + "members": Array [ + "0xdf9eb223bafbe5c5271415c75aecd68c21fe3d7f", + "0x07ee55aa48bb72dcc6e9d78256648910de513eca", + "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59", + "0xc61b9bb3a7a0767e3179713f3a5c7a9aedce193c", + ], + "motd": "Chillin' in the sun", + "name": "Solstice", + }, + Object { + "address": "ea92dd9a-21a3-443f-8f1c-db263192a99f", + "creator": "0xdc76cd25977e0a5ae17155770273ad58648900d3", + "members": Array [ + "0xdc76cd25977e0a5ae17155770273ad58648900d3", + ], + "motd": "Amusing universe", + "name": "Urania", + }, +] +`; diff --git a/mock/tests/groups.test.ts b/mock/tests/groups.test.ts new file mode 100644 index 0000000000..db72492da7 --- /dev/null +++ b/mock/tests/groups.test.ts @@ -0,0 +1,7 @@ +import * as Groups from '../groups' + +describe('init', () => { + it('gets the constant', () => { + expect(Groups.Groups).toMatchSnapshot() + }) +})