Add routes.ts
support behind future flag
#1597
test-pr-windows-macos.yml
on: pull_request
Matrix: 👀 Integration Test / integration
Matrix: 👀 Integration Test / integration
Matrix: 👀 Integration Test / integration
Matrix: 🧪 Unit Test / test
Annotations
5 errors
route config › route helpers › relative › supports relative routes:
packages/remix-dev/__tests__/route-config-test.ts#L468
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `route config route helpers relative supports relative routes 1`
- Snapshot - 2
+ Received + 2
{
"children": [
{
"children": undefined,
- "file": "/path/to/dirname/nested/child.tsx",
+ "file": "D:\path\to\dirname\nested\child.tsx",
"id": "child",
"path": "child",
},
],
- "file": "/path/to/dirname/nested/parent.tsx",
+ "file": "D:\path\to\dirname\nested\parent.tsx",
"path": "parent",
}
at Object.toMatchInlineSnapshot (__tests__/route-config-test.ts:468:11)
|
route config › route helpers › relative › supports relative index routes:
packages/remix-dev/__tests__/route-config-test.ts#L489
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `route config route helpers relative supports relative index routes 1`
- Snapshot - 2
+ Received + 2
[
{
- "file": "/path/to/dirname/nested/without-options.tsx",
+ "file": "D:\path\to\dirname\nested\without-options.tsx",
"index": true,
},
{
- "file": "/path/to/dirname/nested/with-options.tsx",
+ "file": "D:\path\to\dirname\nested\with-options.tsx",
"id": "with-options",
"index": true,
},
]
at Object.toMatchInlineSnapshot (__tests__/route-config-test.ts:489:12)
|
route config › route helpers › relative › supports relative layout routes:
packages/remix-dev/__tests__/route-config-test.ts#L510
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `route config route helpers relative supports relative layout routes 1`
- Snapshot - 2
+ Received + 2
{
"children": [
{
"children": undefined,
- "file": "/path/to/dirname/nested/child.tsx",
+ "file": "D:\path\to\dirname\nested\child.tsx",
"id": "child",
},
],
- "file": "/path/to/dirname/nested/parent.tsx",
+ "file": "D:\path\to\dirname\nested\parent.tsx",
}
at Object.toMatchInlineSnapshot (__tests__/route-config-test.ts:510:11)
|
🧪 Unit Test / windows-latest / node@20
Process completed with exit code 1.
|
👀 Integration Test / macos-latest / node@20 / webkit
Process completed with exit code 1.
|