Commit 0650d63aab2 for woocommerce

commit 0650d63aab2bca0faa3a770706177177b78e18bc
Author: Luigi Teschio <gigitux@gmail.com>
Date:   Wed Aug 12 09:52:56 2026 +0200

    Fix TypeScript project resolution for e2e tests (#67564)

    Fix e2e TypeScript project resolution

diff --git a/plugins/woocommerce/eslint.config.mjs b/plugins/woocommerce/eslint.config.mjs
index 33c81fcd960..e3bef3b74f5 100644
--- a/plugins/woocommerce/eslint.config.mjs
+++ b/plugins/woocommerce/eslint.config.mjs
@@ -147,7 +147,14 @@ export default [
 		languageOptions: {
 			parserOptions: {
 				tsconfigRootDir: path.join( __dirname, 'tests/e2e' ),
-				project: './tsconfig.blocks.json',
+				project: './tsconfig.json',
+			},
+		},
+		settings: {
+			'import/resolver': {
+				typescript: {
+					project: path.join( __dirname, 'tests/e2e/tsconfig.json' ),
+				},
 			},
 		},
 		plugins: {
diff --git a/plugins/woocommerce/tests/e2e/tsconfig.blocks.json b/plugins/woocommerce/tests/e2e/tsconfig.blocks.json
deleted file mode 100644
index b5eea70fb83..00000000000
--- a/plugins/woocommerce/tests/e2e/tsconfig.blocks.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
-	"$schema": "https://json.schemastore.org/tsconfig.json",
-	"extends": "../../client/blocks/tsconfig.base.json",
-	"compilerOptions": {
-		"baseUrl": "../../client/blocks",
-		"rootDir": "../..",
-		"allowJs": true,
-		"noEmit": true,
-		"composite": false,
-		"emitDeclarationOnly": false,
-		"checkJs": false
-	},
-	"include": [
-		"tests/blocks/**/*",
-		"utils/blocks/**/*",
-		"fixtures/blocks-setup.ts",
-		"test-data/blocks/**/*"
-	]
-}
diff --git a/plugins/woocommerce/tests/e2e/tsconfig.json b/plugins/woocommerce/tests/e2e/tsconfig.json
index 7b3f4861241..44482c84b13 100644
--- a/plugins/woocommerce/tests/e2e/tsconfig.json
+++ b/plugins/woocommerce/tests/e2e/tsconfig.json
@@ -6,8 +6,9 @@
 		"moduleResolution": "node",
 		"baseUrl": ".",
 		"paths": {
-			"@woocommerce/e2e-utils": [
-				"./utils/blocks"
+			"@woocommerce/e2e-utils": [ "./utils/blocks" ],
+			"@woocommerce/stores/woocommerce/cart": [
+				"../../client/blocks/assets/js/base/stores/woocommerce/cart"
 			]
 		},
 		"esModuleInterop": true,
@@ -20,24 +21,9 @@
 		"noEmit": true,
 		"allowJs": true,
 		"checkJs": false,
-		"lib": [
-			"dom",
-			"esnext"
-		],
-		"types": [
-			"node"
-		]
+		"lib": [ "dom", "esnext" ],
+		"types": [ "node" ]
 	},
-	"include": [
-		"**/*"
-	],
-	"exclude": [
-		"node_modules",
-		"test-results",
-		"playwright-report",
-		"tests/blocks/**/*",
-		"utils/blocks/**/*",
-		"fixtures/blocks-setup.ts",
-		"test-data/blocks/**/*"
-	]
+	"include": [ "**/*" ],
+	"exclude": [ "node_modules", "test-results", "playwright-report" ]
 }