Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeairheller committed Jan 16, 2024
1 parent 33d74b9 commit f945bf1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions examples/integration-scripts/multisig.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down Expand Up @@ -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);

Check warning on line 953 in examples/integration-scripts/multisig.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.12.1 and macOS-latest

'op3' is assigned a value but never used

Check warning on line 953 in examples/integration-scripts/multisig.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.12.1 and ubuntu-latest

'op3' is assigned a value but never used
op4 = await client4.keyStates().query(m.prefix, "4");
op4 = await client4.keyStates().query(m.prefix, '4');
op4 = await waitOperation(client4, op4);

Check warning on line 955 in examples/integration-scripts/multisig.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.12.1 and macOS-latest

'op4' is assigned a value but never used

Check warning on line 955 in examples/integration-scripts/multisig.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.12.1 and ubuntu-latest

'op4' is assigned a value but never used

// IPEX grant message
Expand Down
4 changes: 2 additions & 2 deletions test/app/coring.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]!;
Expand All @@ -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'
Expand Down

0 comments on commit f945bf1

Please sign in to comment.