Skip to content

Commit 7d799e2

Browse files
committed
chore(tests): update outdated snapshots
1 parent 46b96f5 commit 7d799e2

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

packages/remix-dev/__tests__/create-test.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ describe("the create command", () => {
119119
]);
120120
expect(output).toMatchInlineSnapshot(`
121121
"
122-
💿 That's it! \`cd\` into <TEMP_DIR>/example and check the README for development and deploy instructions!"
122+
💿 That's it! \`cd\` into example and check the README for development and deploy instructions!"
123123
`);
124124
expect(fse.existsSync(path.join(projectDir, "package.json"))).toBeTruthy();
125125
expect(fse.existsSync(path.join(projectDir, "app/root.tsx"))).toBeTruthy();
@@ -139,7 +139,7 @@ describe("the create command", () => {
139139
140140
💿 You've opted out of installing dependencies so we won't run the remix.init/index.js script for you just yet. Once you've installed dependencies, you can run it manually with \`npx remix init\`
141141
142-
💿 That's it! \`cd\` into <TEMP_DIR>/template and check the README for development and deploy instructions!"
142+
💿 That's it! \`cd\` into template and check the README for development and deploy instructions!"
143143
`);
144144
expect(fse.existsSync(path.join(projectDir, "package.json"))).toBeTruthy();
145145
expect(fse.existsSync(path.join(projectDir, "app/root.tsx"))).toBeTruthy();
@@ -159,7 +159,7 @@ describe("the create command", () => {
159159
160160
💿 You've opted out of installing dependencies so we won't run the remix.init/index.js script for you just yet. Once you've installed dependencies, you can run it manually with \`npx remix init\`
161161
162-
💿 That's it! \`cd\` into <TEMP_DIR>/repo and check the README for development and deploy instructions!"
162+
💿 That's it! \`cd\` into repo and check the README for development and deploy instructions!"
163163
`);
164164
expect(fse.existsSync(path.join(projectDir, "package.json"))).toBeTruthy();
165165
expect(fse.existsSync(path.join(projectDir, "app/root.tsx"))).toBeTruthy();
@@ -179,7 +179,7 @@ describe("the create command", () => {
179179
180180
💿 You've opted out of installing dependencies so we won't run the remix.init/index.js script for you just yet. Once you've installed dependencies, you can run it manually with \`npx remix init\`
181181
182-
💿 That's it! \`cd\` into <TEMP_DIR>/remote-tarball and check the README for development and deploy instructions!"
182+
💿 That's it! \`cd\` into remote-tarball and check the README for development and deploy instructions!"
183183
`);
184184
expect(fse.existsSync(path.join(projectDir, "package.json"))).toBeTruthy();
185185
expect(fse.existsSync(path.join(projectDir, "app/root.tsx"))).toBeTruthy();
@@ -199,7 +199,7 @@ describe("the create command", () => {
199199
200200
💿 You've opted out of installing dependencies so we won't run the remix.init/index.js script for you just yet. Once you've installed dependencies, you can run it manually with \`npx remix init\`
201201
202-
💿 That's it! \`cd\` into <TEMP_DIR>/diff-branch and check the README for development and deploy instructions!"
202+
💿 That's it! \`cd\` into diff-branch and check the README for development and deploy instructions!"
203203
`);
204204
expect(fse.existsSync(path.join(projectDir, "package.json"))).toBeTruthy();
205205
expect(fse.existsSync(path.join(projectDir, "app/root.tsx"))).toBeTruthy();
@@ -216,7 +216,7 @@ describe("the create command", () => {
216216
]);
217217
expect(output).toMatchInlineSnapshot(`
218218
"
219-
💿 That's it! \`cd\` into <TEMP_DIR>/local-tarball and check the README for development and deploy instructions!"
219+
💿 That's it! \`cd\` into local-tarball and check the README for development and deploy instructions!"
220220
`);
221221
expect(fse.existsSync(path.join(projectDir, "package.json"))).toBeTruthy();
222222
expect(fse.existsSync(path.join(projectDir, "app/root.tsx"))).toBeTruthy();
@@ -233,7 +233,7 @@ describe("the create command", () => {
233233
]);
234234
expect(output).toMatchInlineSnapshot(`
235235
"
236-
💿 That's it! \`cd\` into <TEMP_DIR>/file-url-tarball and check the README for development and deploy instructions!"
236+
💿 That's it! \`cd\` into file-url-tarball and check the README for development and deploy instructions!"
237237
`);
238238
expect(fse.existsSync(path.join(projectDir, "package.json"))).toBeTruthy();
239239
expect(fse.existsSync(path.join(projectDir, "app/root.tsx"))).toBeTruthy();
@@ -254,7 +254,7 @@ describe("the create command", () => {
254254
255255
💿 You've opted out of installing dependencies so we won't run the remix.init/index.js script for you just yet. Once you've installed dependencies, you can run it manually with \`npx remix init\`
256256
257-
💿 That's it! \`cd\` into <TEMP_DIR>/template-to-js and check the README for development and deploy instructions!"
257+
💿 That's it! \`cd\` into template-to-js and check the README for development and deploy instructions!"
258258
`);
259259
expect(fse.existsSync(path.join(projectDir, "package.json"))).toBeTruthy();
260260
expect(fse.existsSync(path.join(projectDir, "app/root.jsx"))).toBeTruthy();
@@ -283,7 +283,7 @@ describe("the create command", () => {
283283
284284
💿 You've opted out of installing dependencies so we won't run the remix.init/index.js script for you just yet. Once you've installed dependencies, you can run it manually with \`npx remix init\`
285285
286-
💿 That's it! \`cd\` into <TEMP_DIR>/local-directory and check the README for development and deploy instructions!"
286+
💿 That's it! \`cd\` into local-directory and check the README for development and deploy instructions!"
287287
`);
288288
expect(fse.existsSync(path.join(projectDir, "package.json"))).toBeTruthy();
289289
expect(fse.existsSync(path.join(projectDir, "app/root.tsx"))).toBeTruthy();
@@ -303,7 +303,7 @@ describe("the create command", () => {
303303
304304
💿 You've opted out of installing dependencies so we won't run the remix.init/index.js script for you just yet. Once you've installed dependencies, you can run it manually with \`npx remix init\`
305305
306-
💿 That's it! \`cd\` into <TEMP_DIR>/file-url-directory and check the README for development and deploy instructions!"
306+
💿 That's it! \`cd\` into file-url-directory and check the README for development and deploy instructions!"
307307
`);
308308
expect(fse.existsSync(path.join(projectDir, "package.json"))).toBeTruthy();
309309
expect(fse.existsSync(path.join(projectDir, "app/root.tsx"))).toBeTruthy();
@@ -321,7 +321,7 @@ describe("the create command", () => {
321321
expect(output).toMatchInlineSnapshot(`
322322
"
323323
💿 Running remix.init script
324-
💿 That's it! \`cd\` into <TEMP_DIR>/remix-init-auto and check the README for development and deploy instructions!"
324+
💿 That's it! \`cd\` into remix-init-auto and check the README for development and deploy instructions!"
325325
`);
326326
expect(output).toContain(`💿 Running remix.init script`);
327327
expect(fse.existsSync(path.join(projectDir, "package.json"))).toBeTruthy();
@@ -344,7 +344,7 @@ describe("the create command", () => {
344344
345345
💿 You've opted out of installing dependencies so we won't run the remix.init/index.js script for you just yet. Once you've installed dependencies, you can run it manually with \`npx remix init\`
346346
347-
💿 That's it! \`cd\` into <TEMP_DIR>/remix-init-manual and check the README for development and deploy instructions!"
347+
💿 That's it! \`cd\` into remix-init-manual and check the README for development and deploy instructions!"
348348
`);
349349

350350
output = "";
@@ -394,7 +394,7 @@ describe("the create command", () => {
394394
395395
💿 You've opted out of installing dependencies so we won't run the remix.init/index.js script for you just yet. Once you've installed dependencies, you can run it manually with \`npx remix init\`
396396
397-
💿 That's it! \`cd\` into <TEMP_DIR>/invalid-remix-init-manual and check the README for development and deploy instructions!"
397+
💿 That's it! \`cd\` into invalid-remix-init-manual and check the README for development and deploy instructions!"
398398
`);
399399

400400
process.chdir(projectDir);

packages/remix-dev/__tests__/readConfig-test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe("readConfig", () => {
1717
rootDirectory: expect.any(String),
1818
appDirectory: expect.any(String),
1919
cacheDirectory: expect.any(String),
20+
devServerPort: expect.any(Number),
2021
serverBuildPath: expect.any(String),
2122
assetsBuildDirectory: expect.any(String),
2223
},
@@ -26,7 +27,7 @@ describe("readConfig", () => {
2627
"assetsBuildDirectory": Any<String>,
2728
"cacheDirectory": Any<String>,
2829
"devServerBroadcastDelay": 0,
29-
"devServerPort": 8002,
30+
"devServerPort": Any<Number>,
3031
"entryClientFile": "entry.client.tsx",
3132
"entryServerFile": "entry.server.tsx",
3233
"mdx": undefined,

0 commit comments

Comments
 (0)