Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
6e2629b
Remove implementation-testing log verifications from unit tests
muiriswoulfe Apr 17, 2026
dc6d508
Replace localisation mock blocks with stubLocalization helper
muiriswoulfe Apr 17, 2026
2c6daf9
Replace process.env juggling with stubEnv helper
muiriswoulfe Apr 17, 2026
2d6cef4
chore(ci): add skill for updating CI dependencies
muiriswoulfe Apr 17, 2026
2cc21ae
Split oversized spec files by topic and per public method
muiriswoulfe Apr 17, 2026
4c857c8
Extract createSut factory per spec family
muiriswoulfe Apr 17, 2026
ada2c6e
Expand property-based coverage for Inputs parsing
muiriswoulfe Apr 17, 2026
5779f51
Consolidate invalid-input fixtures shared across Inputs specs
muiriswoulfe Apr 17, 2026
413bba8
Removing plan
muiriswoulfe Apr 17, 2026
20260f4
Enforce consistent-type-imports via ESLint
muiriswoulfe Apr 20, 2026
69c7d03
Use separate type import for GitPullRequest
muiriswoulfe Apr 20, 2026
fd6e911
chore: fix linting
muiriswoulfe Apr 20, 2026
d074fb4
Clear managed env vars before the test suite starts
muiriswoulfe Apr 20, 2026
d27494f
Address PR review feedback on Inputs specs
muiriswoulfe Apr 20, 2026
1a24f5e
Stub the correct env var in isPullRequest negative test
muiriswoulfe Apr 20, 2026
01a6ae3
chore: remove update-ci-dependencies skill
muiriswoulfe Apr 20, 2026
e2d7b8f
Address Copilot review feedback
muiriswoulfe Apr 20, 2026
51c9d62
chore: fix linting
muiriswoulfe Apr 20, 2026
09713dd
Share user agent constant between production and tests
muiriswoulfe Apr 20, 2026
70ae79d
chore: fix linting, update dist folder
muiriswoulfe Apr 20, 2026
9078ed9
Clone getIssueCommentsResponse before mutating in tests
muiriswoulfe Apr 20, 2026
cd4ef52
refactor(tests): improve localization handling in tests
muiriswoulfe Apr 22, 2026
c8b7618
refactor(scripts): enhance build initialization commands
muiriswoulfe Apr 22, 2026
c37c348
refactor(tests): derive hard-coded error strings via localize()
muiriswoulfe Apr 22, 2026
4902304
chore: fix linting
muiriswoulfe Apr 22, 2026
85b57b7
test: rename createReviewComment test to match its stub
muiriswoulfe Apr 22, 2026
f8c3f6c
Merge branch 'main' into muiriswoulfe/test-improvements
muiriswoulfe Apr 27, 2026
8d93b94
Removing files
muiriswoulfe Apr 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .commitlintrc.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,10 @@ jobs:
MARKDOWN_CONFIG_FILE: ../../.markdownlint.json
SAVE_SUPER_LINTER_SUMMARY: true
SPELL_CODESPELL_CONFIG_FILE: .codespellrc
# Disable linters that conflict with other linters.
# Disable linters that conflict with other linters or are not enforced.
VALIDATE_BIOME_FORMAT: false
VALIDATE_BIOME_LINT: false
VALIDATE_GIT_COMMITLINT: false
VALIDATE_JSON: false
VALIDATE_PYTHON_BLACK: false
VALIDATE_TYPESCRIPT_ES: false
Expand Down
14 changes: 0 additions & 14 deletions biome.json

This file was deleted.

1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export default tseslint.config(
},
rules: {
"@typescript-eslint/consistent-type-exports": "error",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/default-param-last": "error",
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/explicit-member-accessibility": "error",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"main": "dist/index.mjs",
"type": "module",
"scripts": {
"build:initialization:debug": "npm ci && node scripts/fs-helpers.mjs cp src debug",
"build:initialization:release": "npm ci && node scripts/fs-helpers.mjs cp src release",
"build:initialization:debug": "npm ci && node scripts/fs-helpers.mjs rm debug && node scripts/fs-helpers.mjs cp src debug",
"build:initialization:release": "npm ci && node scripts/fs-helpers.mjs rm release && node scripts/fs-helpers.mjs cp src release",
"build:debug": "npm run build:initialization:debug && cd debug/task && tsc --sourceMap",
"build:release": "npm run build:initialization:release && npm run build:release:compile && npm run build:release:clean && npm run build:release:package",
"build:release:compile": "cd release/task && tsc && ncc build index.js --out . --minify",
Expand All @@ -28,7 +28,7 @@
"deploy:upload": "tfx build tasks upload --task-path release/task --no-prompt",
"lint": "eslint --fix **/*.ts",
"test": "npm run build:debug && cd debug/task && c8 --reporter=text --reporter=text-summary mocha tests/**/*.spec.js",
"test:fast": "node scripts/fs-helpers.mjs cp src debug && cd debug/task && tsc --sourceMap && c8 --reporter=text --reporter=text-summary mocha tests/**/*.spec.js",
"test:fast": "node scripts/fs-helpers.mjs rm debug && node scripts/fs-helpers.mjs cp src debug && cd debug/task && tsc --sourceMap && c8 --reporter=text --reporter=text-summary mocha tests/**/*.spec.js",
"update:dependencies": "npm update",
"update:versions": "ncu -u"
},
Expand Down
6 changes: 3 additions & 3 deletions src/task/src/repos/reposInvokerInterface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* Licensed under the MIT License.
*/

import CommentData from "./interfaces/commentData.js";
import { CommentThreadStatus } from "azure-devops-node-api/interfaces/GitInterfaces.js";
import PullRequestDetailsInterface from "./interfaces/pullRequestDetailsInterface.js";
import type CommentData from "./interfaces/commentData.js";
import type { CommentThreadStatus } from "azure-devops-node-api/interfaces/GitInterfaces.js";
import type PullRequestDetailsInterface from "./interfaces/pullRequestDetailsInterface.js";

/**
* An interface for invoking repository functionality with any underlying repository store.
Expand Down
4 changes: 2 additions & 2 deletions src/task/src/runners/runnerInvokerInterface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* Licensed under the MIT License.
*/

import { EndpointAuthorization } from "./endpointAuthorization.js";
import ExecOutput from "./execOutput.js";
import type { EndpointAuthorization } from "./endpointAuthorization.js";
import type ExecOutput from "./execOutput.js";

/**
* An interface for invoking runner functionality with any underlying runner.
Expand Down
Loading
Loading