Skip to content

Commit a3d336a

Browse files
committed
reword sym-linked to symlinked
1 parent f4b6979 commit a3d336a

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

.changeset/few-cobras-switch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@sveltejs/kit': patch
33
---
44

5-
Allow sym-linked routes
5+
Allow symlinked directories in the routes folder

packages/kit/src/core/sync/create_manifest_data/index.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ test('creates routes', () => {
9595
]);
9696
});
9797

98-
test('creates sym-linked routes', () => {
99-
const { components, routes } = create('samples/sym-link/routes');
98+
test('creates symlinked routes', () => {
99+
const { components, routes } = create('samples/symlinks/routes');
100100

101-
const index = 'samples/sym-link/routes/index.svelte';
102-
const symlinked_index = 'samples/sym-link/routes/foo/index.svelte';
101+
const index = 'samples/symlinks/routes/index.svelte';
102+
const symlinked_index = 'samples/symlinks/routes/foo/index.svelte';
103103

104104
assert.equal(components, [default_layout, default_error, symlinked_index, index]);
105105

packages/kit/src/core/sync/create_manifest_data/test/samples/sym-link/routes/foo

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/kit/src/core/sync/create_manifest_data/test/samples/sym-link/bar/index.svelte renamed to packages/kit/src/core/sync/create_manifest_data/test/samples/symlinks/bar/index.svelte

File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../bar

packages/kit/src/core/sync/create_manifest_data/test/samples/sym-link/routes/index.svelte renamed to packages/kit/src/core/sync/create_manifest_data/test/samples/symlinks/routes/index.svelte

File renamed without changes.

0 commit comments

Comments
 (0)