Skip to content

Commit d105bbf

Browse files
authored
test: fix name
1 parent 153abd9 commit d105bbf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/test.spec.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function declareTests(isBuild: boolean) {
4242
await killServer();
4343
}, TIMEOUT);
4444

45-
test("sFC <script setup>", async () => {
45+
test("SFC <script setup>", async () => {
4646
const el = (await page.$(".script-setup"))!;
4747

4848
// custom directive
@@ -94,7 +94,7 @@ export function declareTests(isBuild: boolean) {
9494
});
9595
}
9696

97-
test("sFC <style scoped>", async () => {
97+
test("SFC <style scoped>", async () => {
9898
const el = (await page.$(".style-scoped"))!;
9999

100100
await expect(getComputedColor(el)).resolves.toBe("rgb(138, 43, 226)");
@@ -107,7 +107,7 @@ export function declareTests(isBuild: boolean) {
107107
}
108108
});
109109

110-
test("sFC <style module>", async () => {
110+
test("SFC <style module>", async () => {
111111
const el = (await page.$(".css-modules-sfc"))!;
112112

113113
await expect(getComputedColor(el)).resolves.toBe("rgb(0, 0, 255)");
@@ -124,15 +124,15 @@ export function declareTests(isBuild: boolean) {
124124
}
125125
});
126126

127-
test("sFC <custom>", async () => {
127+
test("SFC <custom>", async () => {
128128
await expect(getText(".custom-block")).resolves.toMatch("Custom Block");
129129
await expect(getText(".custom-block-lang")).resolves.toMatch(
130130
"Custom Block",
131131
);
132132
await expect(getText(".custom-block-src")).resolves.toMatch("Custom Block");
133133
});
134134

135-
test("sFC src imports", async () => {
135+
test("SFC src imports", async () => {
136136
await expect(getText(".src-imports-script")).resolves.toMatch(
137137
'src="./script.ts"',
138138
);
@@ -165,13 +165,13 @@ export function declareTests(isBuild: boolean) {
165165
}
166166
});
167167

168-
test("sFC Recursive Component", async () => {
168+
test("SFC Recursive Component", async () => {
169169
await expect(getText(".test-recursive-item")).resolves.toMatch(
170170
/name-1-1-1/,
171171
);
172172
});
173173

174-
test("sFC Async Component", async () => {
174+
test("SFC Async Component", async () => {
175175
await expect(getText(".async-component-a")).resolves.toMatch(
176176
"This is componentA",
177177
);

0 commit comments

Comments
 (0)