diff --git a/packages/expect/package.json b/packages/expect/package.json index eb8484a5dce3..ed851e04ea16 100644 --- a/packages/expect/package.json +++ b/packages/expect/package.json @@ -18,7 +18,8 @@ }, "./package.json": "./package.json", "./build/matchers": "./build/matchers.js", - "./build/toThrowMatchers": "./build/toThrowMatchers.js" + "./build/toThrowMatchers": "./build/toThrowMatchers.js", + "./build/spyMatchers": "./build/spyMatchers.js" }, "dependencies": { "@jest/expect-utils": "workspace:*", diff --git a/scripts/buildUtils.mjs b/scripts/buildUtils.mjs index a92a16df950b..d7c49d281fce 100644 --- a/scripts/buildUtils.mjs +++ b/scripts/buildUtils.mjs @@ -92,6 +92,7 @@ function getPackages() { ? { './build/matchers': './build/matchers.js', './build/toThrowMatchers': './build/toThrowMatchers.js', + './build/spyMatchers': './build/spyMatchers.js', } : {}), },