Skip to content

Commit f18e280

Browse files
fix: misaligned muscle memory
1 parent 19d5123 commit f18e280

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-router-fs-routes/__tests__/flatRoutes-test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -926,9 +926,9 @@ describe("flatRoutes", () => {
926926

927927
testCases.forEach(([routesDir, expected]) => {
928928
test(`for routes directory "${routesDir}"`, () => {
929-
const routeFile = path.join(routesDir, fileName);
930-
const routeInfo = flatRoutesUniversal(APP_DIR, [routeFile]);
931-
const routes = Object.values(routeInfo);
929+
let routeFile = path.posix.join(routesDir, fileName);
930+
let routeInfo = flatRoutesUniversal(APP_DIR, [routeFile]);
931+
let routes = Object.values(routeInfo);
932932

933933
expect(routes).toHaveLength(1);
934934
expect(routes[0].file).toBe(path.posix.join(expected, fileName));

0 commit comments

Comments
 (0)