Skip to content

Commit 089ce62

Browse files
committed
test(workspace-plugin): update react-compiler-analyzer snapshots for yarn run -T
The migration makes inferred targets exec via 'yarn run -T'; the react-compiler-analyzer target-group inline snapshots still expected the old 'yarn <bin>' form.
1 parent 0759ed6 commit 089ce62

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tools/workspace-plugin/src/plugins/workspace-plugin.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ describe(`workspace-plugin`, () => {
935935
expect(targets?.['react-compiler-analyzer--lint']).toMatchInlineSnapshot(`
936936
Object {
937937
"cache": true,
938-
"command": "yarn react-compiler-analyzer lint ./src",
938+
"command": "yarn run -T react-compiler-analyzer lint ./src",
939939
"inputs": Array [
940940
"default",
941941
Object {
@@ -947,7 +947,7 @@ describe(`workspace-plugin`, () => {
947947
"metadata": Object {
948948
"description": "Lint redundant 'use no memo' directives",
949949
"help": Object {
950-
"command": "yarn react-compiler-analyzer lint --help",
950+
"command": "yarn run -T react-compiler-analyzer lint --help",
951951
"example": Object {
952952
"options": Object {
953953
"fix": true,
@@ -967,7 +967,7 @@ describe(`workspace-plugin`, () => {
967967
expect(targets?.['react-compiler-analyzer--analyze']).toMatchInlineSnapshot(`
968968
Object {
969969
"cache": true,
970-
"command": "yarn react-compiler-analyzer analyze ./src",
970+
"command": "yarn run -T react-compiler-analyzer analyze ./src",
971971
"inputs": Array [
972972
"default",
973973
Object {
@@ -979,7 +979,7 @@ describe(`workspace-plugin`, () => {
979979
"metadata": Object {
980980
"description": "Analyze React Compiler coverage and migration status",
981981
"help": Object {
982-
"command": "yarn react-compiler-analyzer analyze --help",
982+
"command": "yarn run -T react-compiler-analyzer analyze --help",
983983
"example": Object {
984984
"options": Object {
985985
"annotate": true,
@@ -1014,7 +1014,7 @@ describe(`workspace-plugin`, () => {
10141014
"metadata": Object {
10151015
"description": "React Compiler analysis (runs lint on CI)",
10161016
"help": Object {
1017-
"command": "yarn react-compiler-analyzer --help",
1017+
"command": "yarn run -T react-compiler-analyzer --help",
10181018
"example": Object {},
10191019
},
10201020
"technologies": Array [

0 commit comments

Comments
 (0)