Skip to content

Commit 5f70ee7

Browse files
Fix type
1 parent 2c1c930 commit 5f70ee7

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

packages/app-vscode/src/keyboard/grammar/getAcceptableTokenTypes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ suite("keyboard.getAcceptableTokenTypes", () => {
153153
arg: value.partialArg,
154154
},
155155
};
156-
assert(
156+
assert.ok(
157157
candidates.some((result) => isEqual(result, fullValue)),
158158
"Relevant candidates (note that symbols will be missing):\n" +
159159
JSON.stringify(candidates, null, 2),

packages/test-vscode-e2e/src/suite/crossCellsSetSelection.vscode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async function runTest() {
3131
);
3232
});
3333

34-
assert(targetHat != null, 'Expected a hat for "world" in the second cell');
34+
assert.ok(targetHat != null, 'Expected a hat for "world" in the second cell');
3535
const { hatStyle, character } = splitKey(targetHat[0]);
3636

3737
await runCursorlessCommand({

packages/test-vscode-e2e/src/suite/withinCellSetSelection.vscode.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ async function runTest() {
3131
);
3232
});
3333

34-
assert(targetHat != null, 'Expected a default hat for "world" in the cell');
34+
assert.ok(
35+
targetHat != null,
36+
'Expected a default hat for "world" in the cell',
37+
);
3538
const { hatStyle, character } = splitKey(targetHat[0]);
3639

3740
await runCursorlessCommand({

0 commit comments

Comments
 (0)