chore(repo): fix unit tests (#30431)

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

Unit tests are broken after rebase

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

Unit tests are passing

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
This commit is contained in:
Jason Jean 2025-03-19 20:57:29 -04:00
parent 0d38ec4454
commit dee4906f5e
5 changed files with 9 additions and 0 deletions

View File

@ -398,6 +398,7 @@ describe('app', () => {
"buildTarget": "@proj/myapp:build:production", "buildTarget": "@proj/myapp:build:production",
}, },
}, },
"continuous": true,
"defaultConfiguration": "development", "defaultConfiguration": "development",
"dependsOn": [ "dependsOn": [
"build", "build",

View File

@ -409,6 +409,7 @@ describe('application generator', () => {
"buildTarget": "@proj/myapp:build:production", "buildTarget": "@proj/myapp:build:production",
}, },
}, },
"continuous": true,
"defaultConfiguration": "development", "defaultConfiguration": "development",
"dependsOn": [ "dependsOn": [
"build", "build",

View File

@ -899,6 +899,7 @@ describe('app', () => {
"buildTarget": "@proj/myapp:build:production", "buildTarget": "@proj/myapp:build:production",
}, },
}, },
"continuous": true,
"defaultConfiguration": "development", "defaultConfiguration": "development",
"dependsOn": [ "dependsOn": [
"build", "build",

View File

@ -86,6 +86,7 @@ exports[`@nx/react/react-router-plugin React Router should create nodes by defau
}, },
"watch-deps": { "watch-deps": {
"command": "npx nx watch --projects acme --includeDependentProjects -- npx nx build-deps acme", "command": "npx nx watch --projects acme --includeDependentProjects -- npx nx build-deps acme",
"continuous": true,
"dependsOn": [ "dependsOn": [
"build-deps", "build-deps",
], ],
@ -174,6 +175,7 @@ exports[`@nx/react/react-router-plugin React Router should create nodes without
}, },
"watch-deps": { "watch-deps": {
"command": "npx nx watch --projects acme --includeDependentProjects -- npx nx build-deps acme", "command": "npx nx watch --projects acme --includeDependentProjects -- npx nx build-deps acme",
"continuous": true,
"dependsOn": [ "dependsOn": [
"build-deps", "build-deps",
], ],

View File

@ -100,6 +100,7 @@ describe('@nx/rspack', () => {
}, },
"preview": { "preview": {
"command": "rspack serve", "command": "rspack serve",
"continuous": true,
"options": { "options": {
"args": [ "args": [
"--node-env=production", "--node-env=production",
@ -112,6 +113,7 @@ describe('@nx/rspack', () => {
}, },
"serve": { "serve": {
"command": "rspack serve", "command": "rspack serve",
"continuous": true,
"options": { "options": {
"args": [ "args": [
"--node-env=development", "--node-env=development",
@ -123,6 +125,7 @@ describe('@nx/rspack', () => {
}, },
}, },
"serve-static": { "serve-static": {
"continuous": true,
"executor": "@nx/web:file-server", "executor": "@nx/web:file-server",
"options": { "options": {
"buildTarget": "build", "buildTarget": "build",
@ -131,6 +134,7 @@ describe('@nx/rspack', () => {
}, },
"watch-deps": { "watch-deps": {
"command": "npx nx watch --projects my-app --includeDependentProjects -- npx nx build-deps my-app", "command": "npx nx watch --projects my-app --includeDependentProjects -- npx nx build-deps my-app",
"continuous": true,
"dependsOn": [ "dependsOn": [
"build-deps", "build-deps",
], ],