From f945bf1f5456aecd9b16587f89f5d3318774e7c4 Mon Sep 17 00:00:00 2001 From: pfeairheller Date: Tue, 16 Jan 2024 13:40:38 -0700 Subject: [PATCH] prettier --- examples/integration-scripts/multisig.test.ts | 26 +++++++++---------- test/app/coring.test.ts | 4 +-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/examples/integration-scripts/multisig.test.ts b/examples/integration-scripts/multisig.test.ts index fcd7fc6c..bb98265c 100644 --- a/examples/integration-scripts/multisig.test.ts +++ b/examples/integration-scripts/multisig.test.ts @@ -592,29 +592,29 @@ test('multisig', async function run() { console.log('Member3 rotated keys'); // Update new key states - op1 = await client1.keyStates().query(aid2.prefix, "1"); + op1 = await client1.keyStates().query(aid2.prefix, '1'); op1 = await waitOperation(client1, op1); const aid2State = op1['response']; - op1 = await client1.keyStates().query(aid3.prefix, "1"); + op1 = await client1.keyStates().query(aid3.prefix, '1'); op1 = await waitOperation(client1, op1); const aid3State = op1['response']; - op2 = await client2.keyStates().query(aid3.prefix, "1"); + op2 = await client2.keyStates().query(aid3.prefix, '1'); op2 = await waitOperation(client2, op2); - op2 = await client2.keyStates().query(aid1.prefix, "1"); + op2 = await client2.keyStates().query(aid1.prefix, '1'); op2 = await waitOperation(client2, op2); const aid1State = op2['response']; - op3 = await client3.keyStates().query(aid1.prefix, "1"); + op3 = await client3.keyStates().query(aid1.prefix, '1'); op3 = await waitOperation(client3, op3); - op3 = await client3.keyStates().query(aid2.prefix, "1"); + op3 = await client3.keyStates().query(aid2.prefix, '1'); op3 = await waitOperation(client3, op3); - op4 = await client4.keyStates().query(aid1.prefix, "1"); + op4 = await client4.keyStates().query(aid1.prefix, '1'); op4 = await waitOperation(client4, op4); - op4 = await client4.keyStates().query(aid2.prefix, "1"); + op4 = await client4.keyStates().query(aid2.prefix, '1'); op4 = await waitOperation(client4, op4); - op4 = await client4.keyStates().query(aid3.prefix, "1"); + op4 = await client4.keyStates().query(aid3.prefix, '1'); op4 = await waitOperation(client4, op4); rstates = [aid1State, aid2State, aid3State]; @@ -945,13 +945,13 @@ test('multisig', async function run() { const m = await client1.identifiers().get('multisig'); // Update states - op1 = await client1.keyStates().query(m.prefix, "4"); + op1 = await client1.keyStates().query(m.prefix, '4'); op1 = await waitOperation(client1, op1); - op2 = await client2.keyStates().query(m.prefix, "4"); + op2 = await client2.keyStates().query(m.prefix, '4'); op2 = await waitOperation(client2, op2); - op3 = await client3.keyStates().query(m.prefix, "4"); + op3 = await client3.keyStates().query(m.prefix, '4'); op3 = await waitOperation(client3, op3); - op4 = await client4.keyStates().query(m.prefix, "4"); + op4 = await client4.keyStates().query(m.prefix, '4'); op4 = await waitOperation(client4, op4); // IPEX grant message diff --git a/test/app/coring.test.ts b/test/app/coring.test.ts index f3f60c60..ea68a0d7 100644 --- a/test/app/coring.test.ts +++ b/test/app/coring.test.ts @@ -261,7 +261,7 @@ describe('Coring', () => { await keyStates.query( 'EP10ooRj0DJF0HWZePEYMLPl-arMV-MAoTKK-o3DXbgX', - "1", + '1', 'EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao' ); lastCall = fetchMock.mock.calls[fetchMock.mock.calls.length - 1]!; @@ -272,7 +272,7 @@ describe('Coring', () => { lastBody.pre, 'EP10ooRj0DJF0HWZePEYMLPl-arMV-MAoTKK-o3DXbgX' ); - assert.equal(lastBody.sn, "1"); + assert.equal(lastBody.sn, '1'); assert.equal( lastBody.anchor, 'EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao'