Skip to content

Commit d06d2e2

Browse files
committed
fix tests
1 parent 0c73621 commit d06d2e2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/cli/commands/init.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe("swa init", () => {
124124
\\"appLocation\\": \\"src\\",
125125
\\"apiLocation\\": \\"src/node-ts\\",
126126
\\"outputLocation\\": \\".\\",
127-
\\"apiLanguage\\": \\"Node.js\\",
127+
\\"apiLanguage\\": \\"node\\",
128128
\\"apiVersion\\": \\"16\\",
129129
\\"apiBuildCommand\\": \\"npm run build --if-present\\"
130130
}
@@ -147,7 +147,7 @@ describe("swa init", () => {
147147
\\"appLocation\\": \\"src/astro preact\\",
148148
\\"apiLocation\\": \\"src/node\\",
149149
\\"outputLocation\\": \\"_site\\",
150-
\\"apiLanguage\\": \\"Node.js\\",
150+
\\"apiLanguage\\": \\"node\\",
151151
\\"apiVersion\\": \\"16\\",
152152
\\"appBuildCommand\\": \\"npm run build\\",
153153
\\"apiBuildCommand\\": \\"npm run build --if-present\\",

src/core/frameworks/detect.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe("framework detection", () => {
3030
appBuildCommand: "npm run build",
3131
appLocation: "e2e/fixtures/astro-node/astro preact",
3232
appDevserverCommand: "npm run dev",
33-
apiLanguage: "Node.js",
33+
apiLanguage: "node",
3434
apiVersion: "16",
3535
appDevserverUrl: "http://localhost:8080",
3636
name: "Astro, with API: Node.js",
@@ -46,7 +46,7 @@ describe("framework detection", () => {
4646
apiLocation: "e2e/fixtures/static-node-ts/node-ts",
4747
appLocation: "e2e/fixtures/static-node-ts",
4848
name: "Static HTML, with API: Node.js, TypeScript",
49-
apiLanguage: "Node.js",
49+
apiLanguage: "node",
5050
apiVersion: "16",
5151
outputLocation: ".",
5252
});

0 commit comments

Comments
 (0)