We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When passing expectJson to parseJson, an attempt is made to JSON.parse
expectJson
parseJson
JSON.parse
When passing expectJson to parseJson, JSON.parse is skipped and jsonc-parser is directly used
jsonc-parser
No response
See test case here: https://github.com/nrwl/nx/pull/21584/files
> NX Report complete - copy this into the issue template Node : 18.15.0 OS : darwin-arm64 pnpm : 8.9.2 nx (global) : 18.0.1 nx : 17.3.0-rc.1 @nx/js : 0.0.1 @nx/jest : 0.0.1 @nx/eslint : 0.0.1 @nx/workspace : 0.0.1 @nx/angular : 0.0.1 @nx/cypress : 0.0.1 @nx/detox : 0.0.1 @nx/devkit : 0.0.1 @nx/esbuild : 17.3.0-rc.1 @nx/eslint-plugin : 17.3.0-rc.1 @nx/expo : 0.0.1 @nx/express : 0.0.1 @nx/nest : 0.0.1 @nx/next : 0.0.1 @nx/node : 0.0.1 @nx/playwright : 17.3.0-rc.1 @nx/plugin : 0.0.1 @nx/react : 0.0.1 @nx/react-native : 0.0.1 @nx/rollup : 0.0.1 @nx/remix : 0.0.1 @nx/storybook : 0.0.1 @nrwl/tao : 0.0.1 @nx/vite : 0.0.1 @nx/vue : 0.0.1 @nx/web : 0.0.1 @nx/webpack : 0.0.1 typescript : 5.3.3 --------------------------------------- Community plugins: @monodon/rust : 1.3.2 @ngrx/effects : 17.0.1 @ngrx/router-store : 17.0.1 @ngrx/store : 17.0.1 --------------------------------------- Local workspace plugins: @nx/workspace-plugin @nx/react-native @nx/playwright @nx/storybook @nx/workspace @nx/angular @nx/cypress @nx/esbuild @nx/express @nx/webpack @nx/eslint @nx/plugin @nx/rollup @nx/detox @nx/react @nx/remix @nx/expo @nx/jest @nx/nest @nx/next @nx/node @nx/nuxt @nx/vite @nx/vue @nx/web @nx/js nx --------------------------------------- The following packages should match the installed version of nx - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nrwl/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] - @nx/[email protected] To fix this, run `nx migrate [email protected]`
Test added and fix applied in this PR: #21584
The text was updated successfully, but these errors were encountered:
Fixed by #21584
Sorry, something went wrong.
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
No branches or pull requests
Current Behavior
When passing
expectJson
toparseJson
, an attempt is made toJSON.parse
Expected Behavior
When passing
expectJson
toparseJson
,JSON.parse
is skipped andjsonc-parser
is directly usedGitHub Repo
No response
Steps to Reproduce
See test case here: https://github.com/nrwl/nx/pull/21584/files
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
Test added and fix applied in this PR: #21584
The text was updated successfully, but these errors were encountered: