Skip to content

Commit

Permalink
style: reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
cawa-93 committed Dec 17, 2022
1 parent a8d054d commit ebd17dc
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions tests/e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ test('Main window web content', async () => {
test('Preload versions', async () => {
const page = await electronApp.firstWindow();
const versionsElement = page.locator('#process-versions');
expect(await versionsElement.count(), 'expect find one element #process-versions').toStrictEqual(1);
expect(await versionsElement.count(), 'expect find one element #process-versions').toStrictEqual(
1,
);

const renderedVersions = await versionsElement.innerText();
const expectedVersions = await electronApp.evaluate(() => process.versions);
Expand All @@ -65,11 +67,16 @@ test('Preload nodeCrypto', async () => {
const testString = Math.random().toString(36).slice(2, 7);

const rawInput = page.locator('input#reactive-hash-raw-value');
expect(await rawInput.count(), 'expect find one element input#reactive-hash-raw-value').toStrictEqual(1);
expect(
await rawInput.count(),
'expect find one element input#reactive-hash-raw-value',
).toStrictEqual(1);

const hashedInput = page.locator('input#reactive-hash-hashed-value');
expect(await hashedInput.count(), 'expect find one element input#reactive-hash-hashed-value').toStrictEqual(1);

expect(
await hashedInput.count(),
'expect find one element input#reactive-hash-hashed-value',
).toStrictEqual(1);

await rawInput.fill(testString);
const renderedHash = await hashedInput.inputValue();
Expand Down

0 comments on commit ebd17dc

Please sign in to comment.