Skip to content

Commit

Permalink
fix test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mligtenberg committed Dec 24, 2024
1 parent 1bd8aa3 commit d43328c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 43 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# Run this command as early as possible, before dependencies are installed
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
# Uncomment this line to enable task distribution
# - run: npx nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="build"
- run: npx nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="build"

# Cache node_modules
- uses: actions/setup-node@v4
Expand All @@ -39,4 +39,4 @@ jobs:
# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
# - run: npx nx-cloud record -- echo Hello World
# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
- run: npx nx affected -t lint test build
- run: pnpm exec nx affected -t lint test build
27 changes: 0 additions & 27 deletions apps/servicebus-browser-frontend/src/app/app.component.spec.ts

This file was deleted.

4 changes: 2 additions & 2 deletions libs/logs/contracts/project.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@service-bus-browser/logs-contracts",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/logs/contract/src",
"sourceRoot": "libs/logs/contracts/src",
"projectType": "library",
"tags": [],
"targets": {
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/logs/contract/jest.config.ts"
"jestConfig": "libs/logs/contracts/jest.config.ts"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion libs/service-bus/angular-providers/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
displayName: '@service-bus-browser/service-bus-angular-providers',
preset: '../../jest.preset.js',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../coverage/libs/angular-providers',
transform: {
Expand Down
4 changes: 2 additions & 2 deletions libs/service-bus/angular-providers/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@service-bus-browser/service-bus-angular-providers",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/angular-providers/src",
"sourceRoot": "libs/service-bus/angular-providers/src",
"prefix": "lib",
"projectType": "library",
"tags": [],
Expand All @@ -10,7 +10,7 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/angular-providers/jest.config.ts"
"jestConfig": "libs/service-bus/angular-providers/jest.config.ts"
}
},
"lint": {
Expand Down
4 changes: 2 additions & 2 deletions libs/service-bus/clients/project.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@service-bus-browser/service-bus-clients",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/servicebus/clients/src",
"sourceRoot": "libs/service-bus/clients/src",
"projectType": "library",
"tags": [],
"targets": {
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/servicebus/clients/jest.config.ts"
"jestConfig": "libs/service-bus/clients/jest.config.ts"
}
}
}
Expand Down
7 changes: 0 additions & 7 deletions libs/service-bus/server/src/lib/service-bus-server.spec.ts

This file was deleted.

0 comments on commit d43328c

Please sign in to comment.