Skip to content

Commit 7a641ca

Browse files
Fixed bug where snippet tests failed due to left over snippet holes from previous tests.
1 parent 629033c commit 7a641ca

13 files changed

Lines changed: 1570 additions & 1564 deletions

File tree

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@
3737
"@pnpm/meta-updater": "^2.0.6",
3838
"@types/node": "^24.12.4",
3939
"esbuild": "^0.28.0",
40-
"eslint-plugin-mocha": "^11.2.0",
41-
"oxfmt": "^0.49.0",
42-
"oxlint": "^1.64.0",
43-
"oxlint-tsgolint": "^0.22.1",
44-
"stylelint": "^17.11.0",
40+
"eslint-plugin-mocha": "^11.3.0",
41+
"oxfmt": "^0.51.0",
42+
"oxlint": "^1.66.0",
43+
"oxlint-tsgolint": "^0.23.0",
44+
"stylelint": "^17.12.0",
4545
"stylelint-config-standard": "^40.0.0",
4646
"stylelint-config-standard-scss": "^17.0.0",
47-
"syncpack": "^15.1.2",
48-
"tsx": "^4.21.0",
47+
"syncpack": "^15.3.1",
48+
"tsx": "^4.22.3",
4949
"typescript": "^6.0.3"
5050
},
5151
"pnpm": {

packages/app-vscode/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,10 +1316,10 @@
13161316
"@cursorless/lib-tutorial": "workspace:*",
13171317
"@cursorless/lib-vscode-common": "workspace:*",
13181318
"fast-glob": "^3.3.3",
1319-
"itertools": "^2.6.0",
1319+
"itertools": "^2.7.1",
13201320
"lodash-es": "^4.18.1",
13211321
"nearley": "^2.20.1",
1322-
"semver": "^7.8.0",
1322+
"semver": "^7.8.1",
13231323
"trie-search": "^2.2.1",
13241324
"uuid": "^14.0.0",
13251325
"vscode-uri": "^3.1.0"
@@ -1337,6 +1337,6 @@
13371337
"fast-xml-parser": "^5.8.0",
13381338
"fs-extra": "^11.3.5",
13391339
"sinon": "^22.0.0",
1340-
"tsx": "^4.21.0"
1340+
"tsx": "^4.22.3"
13411341
}
13421342
}

packages/app-web-docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"prism-react-renderer": "^2.4.1",
3939
"react": "^19.2.6",
4040
"react-dom": "^19.2.6",
41-
"shiki": "^4.0.2",
41+
"shiki": "^4.1.0",
4242
"unist-util-visit": "^5.1.0"
4343
},
4444
"devDependencies": {
@@ -48,8 +48,8 @@
4848
"@types/mdast": "^4.0.4",
4949
"@types/mocha": "^10.0.10",
5050
"@types/node": "^24.12.4",
51-
"@types/react": "^19.2.14",
52-
"sass": "^1.99.0",
51+
"@types/react": "^19.2.15",
52+
"sass": "^1.100.0",
5353
"typescript": "^6.0.3",
5454
"unified": "^11.0.5"
5555
}

packages/app-web/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"@cursorless/lib-cheatsheet": "workspace:*",
1616
"@cursorless/lib-common": "workspace:*",
1717
"bootstrap": "^5.3.8",
18-
"preact": "^10.29.1",
18+
"preact": "^10.29.2",
1919
"react-player": "^3.4.0",
20-
"wouter-preact": "^3.9.0"
20+
"wouter-preact": "^3.10.0"
2121
},
2222
"devDependencies": {
2323
"@types/node": "^24.12.4",
2424
"typescript": "^6.0.3",
25-
"vite": "^8.0.12",
25+
"vite": "^8.0.14",
2626
"vite-plugin-purgecss": "^0.2.13",
2727
"vite-plugin-svgr": "^5.2.0"
2828
}

packages/lib-cheatsheet-local/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
"@cursorless/lib-cheatsheet": "workspace:*",
1919
"@cursorless/lib-common": "workspace:*",
2020
"bootstrap": "^5.3.8",
21-
"preact": "^10.29.1"
21+
"preact": "^10.29.2"
2222
},
2323
"devDependencies": {
2424
"@types/jest": "^30.0.0",
2525
"@types/node": "^24.12.4",
2626
"jest": "^30.4.2",
2727
"typescript": "^6.0.3",
28-
"vite": "^8.0.12",
28+
"vite": "^8.0.14",
2929
"vite-plugin-purgecss": "^0.2.13",
3030
"vite-plugin-singlefile": "^2.3.3"
3131
}

packages/lib-cheatsheet/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
},
1919
"dependencies": {
2020
"@cursorless/lib-common": "workspace:*",
21-
"preact": "^10.29.1",
21+
"preact": "^10.29.2",
2222
"react-bootstrap-icons": "^1.11.6"
2323
},
2424
"devDependencies": {
2525
"@types/jest": "^30.0.0",
2626
"jest": "^30.4.2",
2727
"jest-environment-jsdom": "^30.4.1",
28-
"ts-jest": "^29.4.9",
28+
"ts-jest": "^29.4.11",
2929
"typescript": "^6.0.3"
3030
}
3131
}

packages/lib-common/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"clean": "rm -rf ./out ./dist ./tsconfig.tsbuildinfo"
1818
},
1919
"dependencies": {
20-
"itertools": "^2.6.0",
20+
"itertools": "^2.7.1",
2121
"lodash-es": "^4.18.1",
2222
"tinycolor2": "^1.6.0",
2323
"vscode-uri": "^3.1.0"
@@ -30,6 +30,6 @@
3030
"cross-spawn": "^7.0.6",
3131
"fast-check": "^4.8.0",
3232
"js-yaml": "^4.1.1",
33-
"web-tree-sitter": "^0.26.8"
33+
"web-tree-sitter": "^0.26.9"
3434
}
3535
}

packages/lib-engine/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@cursorless/talon-tools": "^0.11.0",
2424
"immer": "^11.1.8",
2525
"immutability-helper": "^3.1.1",
26-
"itertools": "^2.6.0",
26+
"itertools": "^2.7.1",
2727
"lodash-es": "^4.18.1",
2828
"moo": "^0.5.3",
2929
"nearley": "^2.20.1",
@@ -37,6 +37,6 @@
3737
"@types/moo": "^0.5.10",
3838
"@types/nearley": "^2.11.5",
3939
"js-yaml": "^4.1.1",
40-
"web-tree-sitter": "^0.26.8"
40+
"web-tree-sitter": "^0.26.9"
4141
}
4242
}

packages/lib-vscode-common/src/testUtil/closeUiElements.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { commands } from "vscode";
22

33
export async function closeUiElements() {
4+
// If we're in a snippet, leave it. This is needed or some snippet tests will fail.
5+
await commands.executeCommand("leaveSnippet");
46
// Many times running these tests opens the sidebar, which slows performance. Close it.
57
await commands.executeCommand("workbench.action.closeSidebar");
68
// Close the find widget as well, since it can also be open and cause performance issues.

packages/lib-vscode-tutorial-webview/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
"dependencies": {
1717
"@cursorless/lib-common": "workspace:*",
1818
"bootstrap": "^5.3.8",
19-
"preact": "^10.29.1"
19+
"preact": "^10.29.2"
2020
},
2121
"devDependencies": {
2222
"@types/vscode-webview": "^1.57.5",
23-
"vite": "^8.0.12",
23+
"vite": "^8.0.14",
2424
"vite-plugin-purgecss": "^0.2.13"
2525
}
2626
}

0 commit comments

Comments
 (0)