Fork of github.com/did-method-plc/did-method-plc
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix test breakages due to side-effects of the new test case succeeding

+4 -1
+4 -1
packages/server/tests/server.test.ts
··· 107 107 'did:key:z6MkjwbBXZnFqL8su24wGL2Fdjti6GSLv9SWdYGswfazUPm9' 108 108 109 109 await client.updateAtprotoKey(did, rotationKey1, newSigningKey) 110 + 111 + // put the old key back so as not to disrupt the other tests 112 + await client.updateAtprotoKey(did, rotationKey1, signingKey.did()) 110 113 }) 111 114 112 115 it('does not allow syntactically invalid service keys', async () => { ··· 235 238 it('exports the data set', async () => { 236 239 const data = await client.export() 237 240 expect(data.every((row) => check.is(row, plc.def.exportedOp))).toBeTruthy() 238 - expect(data.length).toBe(29) 241 + expect(data.length).toBe(31) 239 242 for (let i = 1; i < data.length; i++) { 240 243 expect(data[i].createdAt >= data[i - 1].createdAt).toBeTruthy() 241 244 }