Skip to content

Commit

Permalink
working tests / bufix on subsection
Browse files Browse the repository at this point in the history
  • Loading branch information
haberdashPI committed Sep 19, 2024
1 parent 2d058f2 commit f4c0857
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publisher": "haberdashPI",
"repository": "https://github.com/haberdashPI/vscode-selection-utilities",
"description": "Kakaune-inspired collection of useful commands for manipulating selections.",
"version": "0.6.7",
"version": "0.6.6",
"icon": "logo.png",
"engines": {
"vscode": "^1.92.0"
Expand Down Expand Up @@ -465,4 +465,4 @@
"@wdio/spec-reporter": "^8.40.3",
"ts-node": "^10.9.2"
}
}
}
17 changes: 14 additions & 3 deletions test/specs/moveBySection.ux.mts
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ describe('Section Motion', () => {
{selectWhole: true, boundary: 'end'},
`
joebob
bizzle
billybob
bim
# B
# A.2
# --------------------`
);
});
Expand All @@ -162,6 +162,17 @@ describe('Section Motion', () => {
it('Can move backwards by end', async () => {
await editor.moveCursor(9, 1);

await parMoveSelects(
{selectWhole: true, boundary: 'end', value: -1},
`
billybob
bim
# A.2
# --------------------`
);

await parMoveSelects(
{selectWhole: true, boundary: 'end', value: -1},
`
Expand Down
2 changes: 1 addition & 1 deletion wdio.conf.mts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const config: Options.Testrunner = {
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
specs: ['./test/specs/**/*.ux.mts'],
specs: ['./test/specs/**/moveBySection.ux.mts'],
// Patterns to exclude.
exclude: [
// 'path/to/excluded/files'
Expand Down

0 comments on commit f4c0857

Please sign in to comment.