Skip to content

Commit cd6dafb

Browse files
committed
chore: update test expect and launch config
1 parent c49f53d commit cd6dafb

2 files changed

Lines changed: 1 addition & 16 deletions

File tree

.vscode/launch.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -100,21 +100,6 @@
100100
"${workspaceRoot}/spec/**/*.js" ],
101101
"args": ["--test-mode"]
102102
},
103-
{
104-
"type": "node",
105-
"request": "launch",
106-
"name": "Launch New React",
107-
"cwd": "${workspaceRoot}/output",
108-
"program": "${workspaceRoot}/packages/cli/bin/execute.js",
109-
"console": "externalTerminal",
110-
"preLaunchTask": "build",
111-
"outFiles": ["${workspaceFolder}/**/*.js"],
112-
"args": [
113-
"new",
114-
"reactproj",
115-
"--framework=react"
116-
]
117-
},
118103
{
119104
"type": "node",
120105
"request": "launch",

spec/unit/start-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ describe("Unit - start command", () => {
7777
expect(Util.execSync).toHaveBeenCalledWith("npm start -- --port=3567", { stdio: "inherit", killSignal: "SIGINT" });
7878

7979
await startCmd.handler({ port: 1234, _: ["start"], $0: "start" });
80-
expect(Util.execSync).toHaveBeenCalledWith("npm start -- --port=3567", { stdio: "inherit", killSignal: "SIGINT" });
80+
expect(Util.execSync).toHaveBeenCalledWith("npm start -- --port=1234", { stdio: "inherit", killSignal: "SIGINT" });
8181

8282
expect(Util.error).not.toHaveBeenCalled();
8383
});

0 commit comments

Comments
 (0)