Skip to content

Commit fb078c9

Browse files
committed
Formatting cleanup
1 parent 7ba2c1e commit fb078c9

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

test/webdriverio/test/basic_test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ import {
1111
testFileLocations,
1212
PAUSE_TIME,
1313
getBlockElementById,
14-
clickBlock,} from './test_setup.js';
15-
import {Key, ClickOptions,} from 'webdriverio';
14+
clickBlock,
15+
} from './test_setup.js';
16+
import {Key, ClickOptions} from 'webdriverio';
1617

1718
suite('Keyboard navigation', function () {
1819
// Setting timeout to unlimited as these tests take a longer time to run than most mocha test

test/webdriverio/test/test_setup.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ export async function clickBlock(
205205
const block = workspaceSvg.getBlockById(blockId);
206206
if (block) {
207207
// Ensure the block we want to click is within the viewport.
208-
workspaceSvg.scrollBoundsIntoView(block.getBoundingRectangleWithoutChildren());
208+
workspaceSvg.scrollBoundsIntoView(
209+
block.getBoundingRectangleWithoutChildren(),
210+
);
209211
for (const input of block.inputList) {
210212
for (const field of input.fieldRow) {
211213
if (field instanceof Blockly.FieldLabel) {

0 commit comments

Comments
 (0)