- 07 5月, 2021 9 次提交
-
-
由 Asher 提交于
It errors that jest is not defined so put it behind a function instead of immediately creating the mock (this is probably a better pattern anyway). The constant tests had to be reworked a little. Since the logger mock is hoisted it runs before createLoggerMock is imported. I moved it into a beforeAll which means the require call also needed to be moved there (since we need to mock the logger before requiring the constants or it'll pull the non-mocked logger). This means getPackageJson needs to be a let and assigned afterward. To avoid having to define a type for getPackageJson I just added a let var set to the type of the imported constants file and modified the other areas to use the same paradigm. I also replaced some hardcoded strings with the mocked package.json object.
-
由 Asher 提交于
Just to limit all the noise from code-server's startup output.
-
由 Asher 提交于
-
由 Asher 提交于
This is to match the other tests that create temp directories. It also lets you clean up test temp directories all at once separately from other non-test temporary directories.
-
由 Asher 提交于
-
由 Asher 提交于
-
由 Joe Previte 提交于
feat(testing): add test for src/node/constants.ts
-
由 Akash Satheesan 提交于
Move dependency audits from prebuild to their own jobs, so that an error does not affect the rest of the build/test process.
-
由 Joe Previte 提交于
We were accidentally ignoring `node/routes` because we had "out" instead of "/out" in `coveragePathIgnorePatterns` which caused us to not collect coverage for those files. Now we do.
-
- 06 5月, 2021 9 次提交
-
-
由 Joe Previte 提交于
-
由 Asher 提交于
-
由 Joe Previte 提交于
docs(security): add section for tools
-
由 Joe Previte 提交于
-
由 Asher 提交于
-
由 Asher 提交于
All it does is log and exit which is what the caller will be doing on an error anyway (see entry).
-
由 Asher 提交于
This is so they can be unit tested.
-
由 Asher 提交于
-
由 Akash Satheesan 提交于
-
- 05 5月, 2021 17 次提交
-
-
由 Asher 提交于
-
由 dependabot[bot] 提交于
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.20.11 to 12.20.12. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: Ndependabot[bot] <support@github.com> Co-authored-by: Ndependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
由 dependabot[bot] 提交于
Bumps [@types/split2](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/split2) from 2.1.6 to 3.2.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/split2) Signed-off-by: Ndependabot[bot] <support@github.com> Co-authored-by: Ndependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
由 repo-ranger[bot] 提交于
docs(maintaining): add versioning
-
由 Joe Previte 提交于
-
由 Asher 提交于
-
由 repo-ranger[bot] 提交于
docs(maintaining): add triage to workflow
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
feat(ci): add trivy job for security
-
由 Joe Previte 提交于
This adds both a trivy scan for the repo and a trivy scan for our Docker image.
-
由 Asher 提交于
-
由 Asher 提交于
-
由 Asher 提交于
This lets us re-use the normalized base path so when we expire/clear the cookie we use the same base path.
-
由 Asher 提交于
-
由 Asher 提交于
-
由 Asher 提交于
-
- 04 5月, 2021 5 次提交
-
-
由 dependabot[bot] 提交于
Bumps [audit-ci](https://github.com/IBM/audit-ci) from 3.2.0 to 4.0.0. - [Release notes](https://github.com/IBM/audit-ci/releases) - [Commits](https://github.com/IBM/audit-ci/compare/v3.2.0...v4.0.0) Signed-off-by: Ndependabot[bot] <support@github.com> Co-authored-by: Ndependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
由 dependabot[bot] 提交于
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.8.1 to 3.8.2. - [Release notes](https://github.com/codecov/codecov-node/releases) - [Changelog](https://github.com/codecov/codecov-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-node/compare/v3.8.1...v3.8.2) Signed-off-by: Ndependabot[bot] <support@github.com> Co-authored-by: Ndependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
由 dependabot[bot] 提交于
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.22.0 to 4.22.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.1/packages/parser) Signed-off-by: Ndependabot[bot] <support@github.com> Co-authored-by: Ndependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
由 dependabot[bot] 提交于
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.0 to 4.22.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.1/packages/eslint-plugin) Signed-off-by: Ndependabot[bot] <support@github.com> Co-authored-by: Ndependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
由 Asher 提交于
-