chore(core): remove identity-obj-proxy dependency
#35268
+20
−74
Closed
Nx Cloud / Self-Healing
required action
Apr 20, 2026 in 2s
Review Required
Self-Healing generated a verified fix. Review and apply or reject below.
Details
We add plugins/css-module-stub.js to the jest package's assets.json to ensure it is copied into dist/packages/jest/plugins/ during the build. Without this, resolver.js could not locate the stub via require.resolve('./css-module-stub.js'), causing all CSS module imports in Jest tests to fail with "Cannot find module" errors. This fix aligns the asset configuration with the PR's intent of replacing identity-obj-proxy with the local stub.
diff --git a/packages/jest/assets.json b/packages/jest/assets.json
index d0368e096e..7f1ca97e2f 100644
--- a/packages/jest/assets.json
+++ b/packages/jest/assets.json
@@ -4,6 +4,7 @@
{ "glob": "**/@(files|files-angular)/**" },
{ "glob": "@(package|executors|generators|migrations).json" },
{ "glob": "src/**/schema.d.ts" },
+ { "glob": "plugins/css-module-stub.js" },
{ "glob": "PLUGIN.md" },
"LICENSE"
]
Or apply changes locally with:
npx nx-cloud apply-locally qAXV-aHVJ
Apply fix locally with your editor ↗ View interactive diff ↗
🎓 Learn more about Self-Healing CI on nx.dev →
Loading