-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed new glob async behaviour #463
Conversation
Bumps the all group with 10 updates in the /client directory: | Package | From | To | | --- | --- | --- | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.5.1` | `22.8.6` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.3.0` | `8.12.2` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.3.0` | `8.12.2` | | [@vscode/vsce](https://github.com/Microsoft/vsce) | `2.26.0` | `3.2.1` | | [eslint](https://github.com/eslint/eslint) | `9.8.0` | `9.13.0` | | [mocha](https://github.com/mochajs/mocha) | `10.7.3` | `10.8.2` | | [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) | `10.0.7` | `10.0.9` | | [typescript](https://github.com/microsoft/TypeScript) | `5.5.4` | `5.6.3` | | [vs-verification-toolbox](https://github.com/viperproject/vs-verification-toolbox) | ``bd9e005`` | ``cb59d87`` | | [webpack](https://github.com/webpack/webpack) | `5.94.0` | `5.96.0` | Updates `@types/node` from 22.5.1 to 22.8.6 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.3.0 to 8.12.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.2/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.3.0 to 8.12.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.2/packages/parser) Updates `@vscode/vsce` from 2.26.0 to 3.2.1 - [Release notes](https://github.com/Microsoft/vsce/releases) - [Commits](microsoft/vscode-vsce@v2.26.0...v3.2.1) Updates `eslint` from 9.8.0 to 9.13.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v9.8.0...v9.13.0) Updates `mocha` from 10.7.3 to 10.8.2 - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](mochajs/mocha@v10.7.3...v10.8.2) Updates `@types/mocha` from 10.0.7 to 10.0.9 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha) Updates `typescript` from 5.5.4 to 5.6.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.5.4...v5.6.3) Updates `vs-verification-toolbox` from `bd9e005` to `cb59d87` - [Commits](viperproject/vs-verification-toolbox@bd9e005...cb59d87) Updates `webpack` from 5.94.0 to 5.96.0 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.94.0...v5.96.0) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: "@vscode/vsce" dependency-type: direct:development update-type: version-update:semver-major dependency-group: all - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: "@types/mocha" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: vs-verification-toolbox dependency-type: direct:development dependency-group: all - dependency-name: webpack dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a minor comment about documenting why we reverse the files (or at least capture your observations as I guess the true reason is unknown)
client/src/test/index.ts
Outdated
|
||
const filenames = await getTestSuiteFilenames(); | ||
filenames.forEach(filename => mocha.addFile(path.resolve(TESTS_ROOT, filename))); | ||
filenames.reverse().forEach(filename => mocha.addFile(path.resolve(TESTS_ROOT, filename))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment why we do this
This PR provides two fixes:
It also fixes the vscode launch.json for running the tests out of vscode directly.