@@ -42,7 +42,7 @@ export function declareTests(isBuild: boolean) {
42
42
await killServer ( ) ;
43
43
} , TIMEOUT ) ;
44
44
45
- test ( "sFC <script setup>" , async ( ) => {
45
+ test ( "SFC <script setup>" , async ( ) => {
46
46
const el = ( await page . $ ( ".script-setup" ) ) ! ;
47
47
48
48
// custom directive
@@ -94,7 +94,7 @@ export function declareTests(isBuild: boolean) {
94
94
} ) ;
95
95
}
96
96
97
- test ( "sFC <style scoped>" , async ( ) => {
97
+ test ( "SFC <style scoped>" , async ( ) => {
98
98
const el = ( await page . $ ( ".style-scoped" ) ) ! ;
99
99
100
100
await expect ( getComputedColor ( el ) ) . resolves . toBe ( "rgb(138, 43, 226)" ) ;
@@ -107,7 +107,7 @@ export function declareTests(isBuild: boolean) {
107
107
}
108
108
} ) ;
109
109
110
- test ( "sFC <style module>" , async ( ) => {
110
+ test ( "SFC <style module>" , async ( ) => {
111
111
const el = ( await page . $ ( ".css-modules-sfc" ) ) ! ;
112
112
113
113
await expect ( getComputedColor ( el ) ) . resolves . toBe ( "rgb(0, 0, 255)" ) ;
@@ -124,15 +124,15 @@ export function declareTests(isBuild: boolean) {
124
124
}
125
125
} ) ;
126
126
127
- test ( "sFC <custom>" , async ( ) => {
127
+ test ( "SFC <custom>" , async ( ) => {
128
128
await expect ( getText ( ".custom-block" ) ) . resolves . toMatch ( "Custom Block" ) ;
129
129
await expect ( getText ( ".custom-block-lang" ) ) . resolves . toMatch (
130
130
"Custom Block" ,
131
131
) ;
132
132
await expect ( getText ( ".custom-block-src" ) ) . resolves . toMatch ( "Custom Block" ) ;
133
133
} ) ;
134
134
135
- test ( "sFC src imports" , async ( ) => {
135
+ test ( "SFC src imports" , async ( ) => {
136
136
await expect ( getText ( ".src-imports-script" ) ) . resolves . toMatch (
137
137
'src="./script.ts"' ,
138
138
) ;
@@ -165,13 +165,13 @@ export function declareTests(isBuild: boolean) {
165
165
}
166
166
} ) ;
167
167
168
- test ( "sFC Recursive Component" , async ( ) => {
168
+ test ( "SFC Recursive Component" , async ( ) => {
169
169
await expect ( getText ( ".test-recursive-item" ) ) . resolves . toMatch (
170
170
/ n a m e - 1 - 1 - 1 / ,
171
171
) ;
172
172
} ) ;
173
173
174
- test ( "sFC Async Component" , async ( ) => {
174
+ test ( "SFC Async Component" , async ( ) => {
175
175
await expect ( getText ( ".async-component-a" ) ) . resolves . toMatch (
176
176
"This is componentA" ,
177
177
) ;
0 commit comments