Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,15 @@ jobs:
working-directory: packages/b2c-cli
run: pnpm run pretest && pnpm run test:ci && pnpm run lint

- name: Run MRT Utilities tests
id: mrt-test
if: always() && steps.cli-test.conclusion != 'cancelled'
working-directory: packages/mrt-utilities
run: pnpm run pretest && pnpm run test:ci && pnpm run lint

- name: Run VS Extension checks
id: vs-extension-test
if: always() && steps.cli-test.conclusion != 'cancelled'
if: always() && steps.mrt-test.conclusion != 'cancelled'
working-directory: packages/b2c-vs-extension
run: pnpm run typecheck:agent && pnpm run lint

Expand Down Expand Up @@ -167,8 +173,13 @@ jobs:
# the Linux-calibrated 70% threshold even though the tests pass.
# Coverage is still generated and uploaded for inspection.
run: pnpm run pretest && pnpm run test:ci:win && pnpm run lint
- name: Run VS Extension checks
- name: Run MRT Utilities tests
id: mrt-test
if: always() && steps.cli-test.conclusion != 'cancelled'
working-directory: packages/mrt-utilities
run: pnpm run pretest && pnpm run test:ci && pnpm run lint
- name: Run VS Extension checks
if: always() && steps.mrt-test.conclusion != 'cancelled'
working-directory: packages/b2c-vs-extension
run: pnpm run typecheck:agent && pnpm run lint
- name: Print Windows test failures
Expand Down
1 change: 1 addition & 0 deletions packages/mrt-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"format:check": "prettier --check .",
"pretest": "tsc --noEmit -p test",
"test": "c8 mocha --forbid-only \"test/**/*.test.ts\"",
"test:ci": "c8 mocha --forbid-only --reporter json --reporter-option output=test-results.json \"test/**/*.test.ts\"",
"test:agent": "mocha --forbid-only --reporter min \"test/**/*.test.ts\"",
"test:watch": "mocha --watch \"test/**/*.test.ts\""
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ describe('create-lambda-adapter', () => {
//express 4 style catch-all route, throws an error when installed
// in express 5, see https://github.com/pillarjs/path-to-regexp#errors
mockApp.get('/*', dummyCatchAllRoute);
} catch (error) {
} catch {
//express 5 style catch-all route
mockApp.get('/{*splat}', dummyCatchAllRoute);
}
Expand Down
Loading