@@ -58,7 +58,7 @@ Array [
58
58
exports [` pre-commit overrides built-in test command with --test-command 2` ] = `
59
59
Array [
60
60
.test-tmp/hover-javascriptTMPSUFFIX/.lintstaged.json,
61
- { " README.md" :[" doctoc --maxlevel 4 --notitle" ]," *.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)" :[" ./src/index.js format" ]," *.+(js|jsx|ts|tsx)" :[" ./src/index.js lint" , " yarn test:custom --findRelatedTests foo.js" ]} ,
61
+ { " README.md" :[" doctoc --maxlevel 4 --notitle" ]," *.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)" :[" ./src/index.js format" ]," *.+(js|jsx|ts|tsx)" :[" ./src/index.js lint" ], " *.+(tsx|ts|jsx|js) " :[ " yarn test:custom --findRelatedTests foo.js" ]} ,
62
62
]
63
63
` ;
64
64
@@ -72,7 +72,7 @@ Array [
72
72
exports [` pre-commit overrides built-in test command with --test-command and forwards args 2` ] = `
73
73
Array [
74
74
.test-tmp/hover-javascriptTMPSUFFIX/.lintstaged.json,
75
- { " README.md" :[" doctoc --maxlevel 4 --notitle" ]," *.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)" :[" ./src/index.js format" ]," *.+(js|jsx|ts|tsx)" :[" ./src/index.js lint" , " yarn test:custom --findRelatedTests foo.js" ]} ,
75
+ { " README.md" :[" doctoc --maxlevel 4 --notitle" ]," *.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)" :[" ./src/index.js format" ]," *.+(js|jsx|ts|tsx)" :[" ./src/index.js lint" ], " *.+(tsx|ts|jsx|js) " :[ " yarn test:custom --findRelatedTests foo.js" ]} ,
76
76
]
77
77
` ;
78
78
@@ -86,7 +86,7 @@ Array [
86
86
exports [` pre-commit overrides built-in test command with --testCommand 2` ] = `
87
87
Array [
88
88
.test-tmp/hover-javascriptTMPSUFFIX/.lintstaged.json,
89
- { " README.md" :[" doctoc --maxlevel 4 --notitle" ]," *.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)" :[" ./src/index.js format" ]," *.+(js|jsx|ts|tsx)" :[" ./src/index.js lint" , " yarn test:custom --findRelatedTests foo.js" ]} ,
89
+ { " README.md" :[" doctoc --maxlevel 4 --notitle" ]," *.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)" :[" ./src/index.js format" ]," *.+(js|jsx|ts|tsx)" :[" ./src/index.js lint" ], " *.+(tsx|ts|jsx|js) " :[ " yarn test:custom --findRelatedTests foo.js" ]} ,
90
90
]
91
91
` ;
92
92
@@ -100,7 +100,7 @@ Array [
100
100
exports [` pre-commit overrides built-in test command with --testCommand and forwards args 2` ] = `
101
101
Array [
102
102
.test-tmp/hover-javascriptTMPSUFFIX/.lintstaged.json,
103
- { " README.md" :[" doctoc --maxlevel 4 --notitle" ]," *.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)" :[" ./src/index.js format" ]," *.+(js|jsx|ts|tsx)" :[" ./src/index.js lint" , " yarn test:custom --findRelatedTests foo.js" ]} ,
103
+ { " README.md" :[" doctoc --maxlevel 4 --notitle" ]," *.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)" :[" ./src/index.js format" ]," *.+(js|jsx|ts|tsx)" :[" ./src/index.js lint" ], " *.+(tsx|ts|jsx|js) " :[ " yarn test:custom --findRelatedTests foo.js" ]} ,
104
104
]
105
105
` ;
106
106
0 commit comments